diff --git a/db/config.ts b/db/config.ts index 6afc52a..01cfc63 100644 --- a/db/config.ts +++ b/db/config.ts @@ -20,7 +20,7 @@ const User = defineTable({ email: column.text(), image: column.text(), role: column.text(), - allergies: column.text({ optional: true }), + allergies: column.text({ optional: true, default: "please fill out" }), }, indexes: { userIdx: { on: ["userId"], unique: true },