feat(extra) : add catalog items and image export
This commit is contained in:
@@ -661,6 +661,10 @@ export const extraSectionRows = guidesSchema.table(
|
||||
backgroundColor: varchar("background_color", { length: 7 }),
|
||||
textColor: varchar("text_color", { length: 7 }),
|
||||
highlights: jsonb("highlights").$type<Array<{ text: string; color: string }>>().default([]).notNull(),
|
||||
catalogItems: jsonb("catalog_items")
|
||||
.$type<Array<{ kind: "character" | "weapon" | "artifact"; key: string }>>()
|
||||
.default([])
|
||||
.notNull(),
|
||||
sortOrder: integer("sort_order").default(0).notNull(),
|
||||
},
|
||||
(table) => [index("extra_section_row_order_idx").on(table.sectionId, table.sortOrder)],
|
||||
|
||||
Reference in New Issue
Block a user