mirror of
https://github.com/documenso/documenso.git
synced 2025-11-17 02:01:33 +10:00
structure
This commit is contained in:
@ -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")
|
||||
);
|
||||
3
apps/web/prisma/migrations/migration_lock.toml
Normal file
3
apps/web/prisma/migrations/migration_lock.toml
Normal 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"
|
||||
14
apps/web/prisma/schema.prisma
Normal file
14
apps/web/prisma/schema.prisma
Normal file
@ -0,0 +1,14 @@
|
||||
generator client {
|
||||
provider = "prisma-client-js"
|
||||
}
|
||||
|
||||
datasource db {
|
||||
provider = "postgresql"
|
||||
url = env("DATABASE_URL")
|
||||
}
|
||||
|
||||
model user {
|
||||
id Int @id @default(autoincrement())
|
||||
email String
|
||||
password String
|
||||
}
|
||||
Reference in New Issue
Block a user