feat(guides) : add safer publishing and discovery
CI / Verify (push) Successful in 1m35s
CI / Build immutable images and deploy (push) Successful in 5m27s

This commit is contained in:
2026-09-19 13:32:57 +07:00 Unverified
parent 6698dc1302
commit 9896e8a4ad
27 changed files with 3213 additions and 108 deletions
+3
View File
@@ -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,