Files
nextplacement/packages/db/migrations/0002_flowery_silver_surfer.sql
2025-06-23 16:27:07 +05:30

8 lines
230 B
SQL

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")
);