feat: added drizzle for contact management

This commit is contained in:
DESKTOP-RTLN3BA\$punk 2025-09-30 21:36:07 -07:00
parent 1a3faf03d5
commit ba62489715
8 changed files with 762 additions and 18 deletions

View file

@ -0,0 +1,9 @@
import { integer, pgTable, text, varchar } from "drizzle-orm/pg-core";
export const usersTable = pgTable("users", {
id: integer().primaryKey().generatedAlwaysAsIdentity(),
name: varchar({ length: 255 }).notNull(),
email: varchar({ length: 255 }).notNull().unique(),
company: varchar({ length: 255 }).notNull(),
message: text().default(''),
});