feat(guide) : improve extra cards and navigation
This commit is contained in:
@@ -660,6 +660,7 @@ export const extraSectionRows = guidesSchema.table(
|
||||
percent: numeric("percent", { precision: 8, scale: 2 }),
|
||||
backgroundColor: varchar("background_color", { length: 7 }),
|
||||
textColor: varchar("text_color", { length: 7 }),
|
||||
highlights: jsonb("highlights").$type<Array<{ text: string; color: 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