Schema Changes

This commit is contained in:
2025-12-06 19:29:28 +01:00
parent 63af22b671
commit 7450f90a0f
7 changed files with 55 additions and 55 deletions

View File

@@ -3,7 +3,7 @@ import { pgTable, uuid, text, boolean, timestamp } from "drizzle-orm/pg-core"
export const authUsers = pgTable("auth_users", {
id: uuid("id").primaryKey().defaultRandom(),
createdAt: timestamp("created_at", { withTimezone: true })
created_at: timestamp("created_at", { withTimezone: true })
.notNull()
.defaultNow(),
@@ -11,7 +11,7 @@ export const authUsers = pgTable("auth_users", {
passwordHash: text("password_hash").notNull(),
multiTenant: boolean("multi_tenant").notNull().default(true),
mustChangePassword: boolean("must_change_password").notNull().default(false),
must_change_password: boolean("must_change_password").notNull().default(false),
updatedAt: timestamp("updated_at", { withTimezone: true }),