Initial commit
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
-- CreateTable AllowedStudent
|
||||
CREATE TABLE "AllowedStudent" (
|
||||
"id" TEXT NOT NULL,
|
||||
"email" TEXT NOT NULL,
|
||||
"levels" TEXT NOT NULL,
|
||||
"active" BOOLEAN NOT NULL DEFAULT true,
|
||||
"createdAt" TIMESTAMP(3) NOT NULL DEFAULT CURRENT_TIMESTAMP,
|
||||
"updatedAt" TIMESTAMP(3) NOT NULL DEFAULT CURRENT_TIMESTAMP,
|
||||
|
||||
CONSTRAINT "AllowedStudent_pkey" PRIMARY KEY ("id")
|
||||
);
|
||||
|
||||
-- CreateIndex
|
||||
CREATE UNIQUE INDEX "AllowedStudent_email_key" ON "AllowedStudent"("email");
|
||||
Reference in New Issue
Block a user