prisma and user model

This commit is contained in:
Timur Ercan
2022-11-15 10:53:04 +01:00
parent cb0ab9eeb6
commit e10b04b9a7
6 changed files with 117 additions and 0 deletions

View File

@ -0,0 +1,8 @@
-- CreateTable
CREATE TABLE "user" (
"id" SERIAL NOT NULL,
"email" TEXT NOT NULL,
"password" TEXT NOT NULL,
CONSTRAINT "user_pkey" PRIMARY KEY ("id")
);

View File

@ -0,0 +1,3 @@
# Please do not edit this file manually
# It should be added in your version-control system (i.e. Git)
provider = "postgresql"