Add model inheritance
listepo opened this issue · 3 comments
listepo commented
It would be nice to be able to inherit models
for example
client side:
model BaseProfile {
id Int @id @default(autoincrement())
bio String
}
server side:
model Profile extends BaseProfile {
user User @relation(fields: [userId], references: [id])
userId Int @unique
}
listepo commented
please pay more attention to this task