added verified field
All checks were successful
backend-action / build-image (push) Successful in 26s

This commit is contained in:
2024-05-10 12:32:23 +07:00
parent 0cf9d60991
commit f7bcb2f476
5 changed files with 506 additions and 1 deletions

View File

@@ -36,6 +36,7 @@ export const user = sqliteTable(
zone: integer("zone_id")
.notNull()
.references(() => zone.id),
verified: integer("verified", { mode: "boolean" }).notNull().default(false),
},
(t) => ({
phone_idx: index("phone_idx").on(t.phone),