feat(guides) : add safer publishing and discovery
This commit is contained in:
@@ -293,6 +293,9 @@ export const guides = guidesSchema.table(
|
||||
.notNull(),
|
||||
version: integer("version").default(1).notNull(),
|
||||
isPublic: boolean("is_public").default(false).notNull(),
|
||||
publishedAt: timestamp("published_at", { withTimezone: true }),
|
||||
publishedCatalogVersion: varchar("published_catalog_version", { length: 32 }),
|
||||
publicationNote: varchar("publication_note", { length: 500 }),
|
||||
sortOrder: integer("sort_order").default(0).notNull(),
|
||||
trashedAt: timestamp("trashed_at", { withTimezone: true }),
|
||||
...timestamps,
|
||||
|
||||
Reference in New Issue
Block a user