import { pgEnum, pgTable, text, timestamp } from "drizzle-orm/pg-core" export const deviceTypeEnum = pgEnum("device_type", ["handled", "console"]) export const hardware = pgTable("hardware", { slug: text("slug").primaryKey(), name: text("name").notNull(), deviceType: deviceTypeEnum("device_type").notNull(), createdAt: timestamp("created_at").defaultNow().notNull(), })