db and auth packages setup

This commit is contained in:
Om Lanke
2025-06-23 16:27:07 +05:30
parent c29f1c26aa
commit bc7ea74d1a
48 changed files with 4410 additions and 56 deletions

View File

@@ -0,0 +1,7 @@
CREATE TABLE "admins" (
"id" serial PRIMARY KEY NOT NULL,
"email" text NOT NULL,
"createdAt" timestamp DEFAULT now() NOT NULL,
"updatedAt" timestamp DEFAULT now() NOT NULL,
CONSTRAINT "admins_email_unique" UNIQUE("email")
);