summaryrefslogtreecommitdiff
path: root/db/schema
diff options
context:
space:
mode:
authorjoonhoekim <26rote@gmail.com>2025-08-18 03:09:13 +0000
committerjoonhoekim <26rote@gmail.com>2025-08-18 03:09:13 +0000
commit14e81ffb5ebe0941d36a3be44e29990a18026a99 (patch)
treedef6dbda1c9519de099e7681f83d7afd0ad50fca /db/schema
parent70c836521e82546f83219a52cc33dc2f41e86de1 (diff)
(김준회) users phone 컬럼 size 20으로 롤백, TELNO가 아닌 HP_NO를 users에 upsert하도록 변경, package.json에 next 참조 명시 추가
Diffstat (limited to 'db/schema')
-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 (나중에 사용)