New: Hero Page und Navigation
This commit is contained in:
@ -24,18 +24,19 @@ model UserExample {
|
||||
}
|
||||
|
||||
model User {
|
||||
id Int @id @default(autoincrement())
|
||||
email String @unique
|
||||
id Int @id @default(autoincrement())
|
||||
email String @unique
|
||||
firstName String?
|
||||
lastName String?
|
||||
hashedPassword String?
|
||||
salt String?
|
||||
identites Identity[]
|
||||
resetToken String?
|
||||
resetTokenExpiresAt DateTime?
|
||||
createdAt DateTime @default(now())
|
||||
updatedAt DateTime @updatedAt
|
||||
roles String @default("user")
|
||||
createdAt DateTime @default(now())
|
||||
updatedAt DateTime @updatedAt
|
||||
roles String @default("user")
|
||||
identites Identity[]
|
||||
Nachhilfeangebot Nachhilfeangebot[]
|
||||
}
|
||||
|
||||
model Identity {
|
||||
@ -61,3 +62,12 @@ model Post {
|
||||
createdAt DateTime @default(now())
|
||||
updatedAt DateTime @updatedAt
|
||||
}
|
||||
|
||||
model Nachhilfeangebot {
|
||||
id Int @id @default(autoincrement())
|
||||
subject String
|
||||
currentClass String
|
||||
cost Decimal
|
||||
userId Int
|
||||
user User @relation(fields: [userId], references: [id])
|
||||
}
|
||||
|
Reference in New Issue
Block a user