feat(extra) : detect uploaded image ratio
CI / Verify (push) Successful in 1m5s
CI / Build immutable images and deploy (push) Successful in 3m8s

This commit is contained in:
2026-09-04 21:23:26 +07:00 Unverified
parent c0d0e0c18f
commit 513e37ad83
11 changed files with 3475 additions and 59 deletions
-1
View File
@@ -655,7 +655,6 @@ export const extraSectionRows = guidesSchema.table(
id: uuid("id").defaultRandom().primaryKey(),
sectionId: uuid("section_id").notNull().references(() => extraSections.sectionId, { onDelete: "cascade" }),
mediaId: uuid("media_id").references(() => media.id, { onDelete: "set null" }),
ratio: varchar("ratio", { length: 5 }).default("16:9").notNull(),
heading: text("heading").notNull(),
body: text("body").notNull(),
percent: numeric("percent", { precision: 8, scale: 2 }),