© 2026 Hedgehog Software, LLC
export const users = pgTable("user", { id: uuid("id").primaryKey().defaultRandom(), name: text("name"), email: text("email").notNull(), emailVerified: timestamp("emailVerified", { mode: "date" }), image: text("image"), });
DEFAULT gen_random_uuid()
CREATE TABLE IF NOT EXISTS "user" ( "id" text PRIMARY KEY NOT NULL, ...
export const roles = pgTable("role", { id: uuid("id").primaryKey().defaultRandom(), ...
CREATE TABLE IF NOT EXISTS "role" ( "id" uuid PRIMARY KEY DEFAULT gen_random_uuid() NOT NULL, ...