summaryrefslogtreecommitdiff
path: root/db/schema/users.ts
diff options
context:
space:
mode:
Diffstat (limited to 'db/schema/users.ts')
-rw-r--r--db/schema/users.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/db/schema/users.ts b/db/schema/users.ts
index ae97da6f..bf5d41de 100644
--- a/db/schema/users.ts
+++ b/db/schema/users.ts
@@ -13,6 +13,7 @@ export const users = pgTable("users", {
id: integer("id").primaryKey().generatedAlwaysAsIdentity(),
name: varchar("name", { length: 255 }).notNull(),
email: varchar("email", { length: 255 }).notNull().unique(),
+ deptCode: varchar("deptCode", { length: 50 }),
deptName: varchar("deptName", { length: 255 }),
companyId: integer("company_id")