feat: add allowOther field to questions and update image upload to return data URIs
This commit is contained in:
@@ -35,6 +35,7 @@ export const questions = pgTable("question", {
|
||||
displayOrder: integer("display_order").notNull().default(0),
|
||||
required: boolean("required").notNull().default(false),
|
||||
options: jsonb("options").$type<string[]>().default([]),
|
||||
allowOther: boolean("allow_other").notNull().default(false),
|
||||
});
|
||||
|
||||
export const submissions = pgTable("submission", {
|
||||
|
||||
Reference in New Issue
Block a user