summaryrefslogtreecommitdiff
path: root/db
diff options
context:
space:
mode:
Diffstat (limited to 'db')
-rw-r--r--db/schema/users.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/db/schema/users.ts b/db/schema/users.ts
index bfea20a1..0e8809b7 100644
--- a/db/schema/users.ts
+++ b/db/schema/users.ts
@@ -33,7 +33,7 @@ export const users = pgTable("users", {
language: varchar("language", { length: 10 }).default("en"),
// MFA 관련 새 컬럼들
- phone: varchar("phone", { length: 255 }), // 국제 형식 전화번호 (+82-10-1234-5678), 해외번호 20자 초과건으로 사이즈 변경
+ phone: varchar("phone", { length: 20 }), // 국제 형식 전화번호 (+82-10-1234-5678), 해외번호 20자 초과건으로 사이즈 변경
mfaEnabled: boolean("mfa_enabled").default(false).notNull(),
mfaSecret: varchar("mfa_secret", { length: 32 }), // TOTP secret (나중에 사용)