Highlight und neue ID
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
model Anteilshaber {
|
||||
id Int @id @default(autoincrement())
|
||||
benutzer_id Int
|
||||
id String @id @unique @db.VarChar(8)
|
||||
rolle String? @db.VarChar
|
||||
privilegien BigInt?
|
||||
uid String @unique @default(dbgenerated("'ant-' || gen_random_uuid()"))
|
||||
|
||||
benutzer_id String
|
||||
benutzer Benutzer @relation(fields: [benutzer_id], references: [id], onDelete: NoAction, onUpdate: NoAction)
|
||||
|
||||
objekt_id Int
|
||||
objekt_id String
|
||||
objekt Objekt @relation(fields: [objekt_id], references: [id], onDelete: NoAction, onUpdate: NoAction)
|
||||
}
|
||||
Reference in New Issue
Block a user