mirror of
https://github.com/bubblecup-12/VogelSocialMedia.git
synced 2025-07-07 19:18:51 +00:00
Database initialized
This commit is contained in:
parent
56c14f8471
commit
dc8eede266
7 changed files with 431 additions and 10 deletions
16
code/backend/prisma/schema.prisma
Normal file
16
code/backend/prisma/schema.prisma
Normal file
|
@ -0,0 +1,16 @@
|
|||
generator client {
|
||||
provider = "prisma-client-js"
|
||||
output = "../src/generated/prisma"
|
||||
}
|
||||
|
||||
datasource db {
|
||||
provider = "postgresql"
|
||||
url = env("DATABASE_URL")
|
||||
}
|
||||
|
||||
model User {
|
||||
id String @id @default(uuid())
|
||||
name String
|
||||
email String
|
||||
password String
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue