db and auth packages setup
This commit is contained in:
7
packages/db/migrations/0002_flowery_silver_surfer.sql
Normal file
7
packages/db/migrations/0002_flowery_silver_surfer.sql
Normal 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")
|
||||
);
|
||||
Reference in New Issue
Block a user