v0.1.42 - 관리자 자동 계정과 로그인 정리
This commit is contained in:
@@ -12,6 +12,7 @@ import {
|
||||
export const users = pgTable('users', {
|
||||
id: serial('id').primaryKey(),
|
||||
email: varchar('email', { length: 255 }).notNull().unique(),
|
||||
loginId: varchar('login_id', { length: 60 }).unique(),
|
||||
passwordHash: varchar('password_hash', { length: 255 }).notNull(),
|
||||
nickname: varchar('nickname', { length: 60 }).notNull(),
|
||||
role: varchar('role', { length: 20 }).notNull().default('user'),
|
||||
|
||||
Reference in New Issue
Block a user