Prisma init.

This commit is contained in:
2022-09-08 01:51:32 +02:00
parent e06850eec4
commit 8bed3632a2
8 changed files with 73 additions and 5 deletions

View File

@@ -0,0 +1,17 @@
// This is your Prisma schema file,
// learn more about it in the docs: https://pris.ly/d/prisma-schema
generator client {
provider = "prisma-client-js"
}
datasource db {
provider = "postgresql"
url = env("DATABASE_URL")
}
model User {
id String @id @default(uuid())
email String @unique
time_joined Int
}