mirror of
https://github.com/bubblecup-12/VogelSocialMedia.git
synced 2025-07-07 19:18:51 +00:00
backend refactored
This commit is contained in:
commit
7ba2a34eb1
13 changed files with 684 additions and 16 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"
|
||||
|
||||
}
|
||||
|
||||
datasource db {
|
||||
provider = "postgresql"
|
||||
url = env("DATABASE_URL")
|
||||
}
|
||||
|
||||
model User {
|
||||
id String @id @default(uuid())
|
||||
username String @unique
|
||||
email String
|
||||
password String
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue