Logo
Explore Help
Sign In
ccopeland/red
1
0
Fork 0
You've already forked red
Code Issues Pull Requests Actions Packages Projects Releases Wiki Activity
Files
9e677f95052092b4ea76c6d1092a879d3b3e8fbe
red/teressa-copeland-homes/drizzle/0000_milky_black_cat.sql

8 lines
212 B
MySQL
Raw Normal View History

feat(01-01): define DB schema, configure Drizzle Kit, write seed script - Created src/lib/db/schema.ts with users table (id, email, password_hash, created_at) - Created src/lib/db/index.ts exporting db singleton via Drizzle + Neon HTTP driver - Created drizzle.config.ts pointing to schema.ts with postgresql dialect - Created scripts/seed.ts reading AGENT_EMAIL/AGENT_PASSWORD to create hashed user row - Generated drizzle/0000_milky_black_cat.sql migration (committed per user decision) - db:migrate and db:seed pending user Neon database setup
2026-03-19 13:30:52 -06:00
CREATE TABLE "users" (
"id" text PRIMARY KEY NOT NULL,
"email" text NOT NULL,
"password_hash" text NOT NULL,
"created_at" timestamp DEFAULT now() NOT NULL,
CONSTRAINT "users_email_unique" UNIQUE("email")
);
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.5 Page: 138ms Template: 1ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API