feat(registration): add birthdate & postcode
This commit is contained in:
@@ -19,9 +19,11 @@ export const registration = sqliteTable(
|
||||
.default(false),
|
||||
// Watcher-specific fields
|
||||
drinkCardValue: integer("drink_card_value").default(0),
|
||||
// Guests: JSON array of {firstName, lastName, email?, phone?} objects
|
||||
// Guests: JSON array of {firstName, lastName, email?, phone?, birthdate, postcode} objects
|
||||
guests: text("guests"),
|
||||
// Shared
|
||||
birthdate: text("birthdate").notNull().default(""),
|
||||
postcode: text("postcode").notNull().default(""),
|
||||
extraQuestions: text("extra_questions"),
|
||||
managementToken: text("management_token").unique(),
|
||||
cancelledAt: integer("cancelled_at", { mode: "timestamp_ms" }),
|
||||
|
||||
Reference in New Issue
Block a user