Rene Nielsen
09/14/2021, 9:18 AMmodel Instructor {
id String @id @default(dbgenerated()) @map("_id") @db.ObjectId
slug String @unique
}
const instructorSlug = slug(instructorInput.name);
await this._dbClient.instructor.create({
data: {
slug: instructorSlug,
}
}
Ryan
09/14/2021, 9:51 AMRene Nielsen
09/14/2021, 9:56 AMRyan
09/14/2021, 10:02 AM The Migrate and Introspection workflows are currently not supported.
Rene Nielsen
09/14/2021, 10:04 AM