import { pgTable, text, timestamp, uuid } from 'drizzle-orm/pg-core'; export const users = pgTable('users', { id: uuid('id').primaryKey().defaultRandom(), username: text('username').notNull().unique(), passwordHash: text('password_hash').notNull(), displayName: text('display_name').notNull(), createdAt: timestamp('created_at', { withTimezone: true }).notNull().defaultNow(), updatedAt: timestamp('updated_at', { withTimezone: true }).notNull().defaultNow(), });