31 lines
771 B
Plaintext
31 lines
771 B
Plaintext
// This is your Prisma schema file,
|
|
// learn more about it in the docs: https://pris.ly/d/prisma-schema
|
|
|
|
// Looking for ways to speed up your queries, or scale easily with your serverless or edge functions?
|
|
// Try Prisma Accelerate: https://pris.ly/cli/accelerate-init
|
|
|
|
generator client {
|
|
provider = "prisma-client-js"
|
|
engineType = "binary"
|
|
}
|
|
|
|
datasource db {
|
|
provider = "postgresql"
|
|
}
|
|
|
|
model User {
|
|
id Int @id @default(autoincrement())
|
|
username String @unique
|
|
password String
|
|
}
|
|
|
|
model Elements {
|
|
id Int @id @default(autoincrement())
|
|
inhalt String
|
|
bundesland String
|
|
fach String
|
|
version String
|
|
stufe Int
|
|
|
|
@@map("Elements") // <--- Das sagt Prisma: "In der DB heißt die Tabelle klein 'elements'"
|
|
} |