20 lines
520 B
Plaintext
20 lines
520 B
Plaintext
generator client {
|
|
provider = "prisma-client"
|
|
output = "../src/generated/prisma"
|
|
moduleFormat = "cjs"
|
|
}
|
|
|
|
datasource db {
|
|
provider = "postgresql"
|
|
}
|
|
|
|
// The owning business. Supplier/customer organizations belong to later modules.
|
|
model Organization {
|
|
id String @id @default(uuid()) @db.Uuid
|
|
name String @db.VarChar(160)
|
|
createdAt DateTime @default(now()) @map("created_at") @db.Timestamptz(3)
|
|
updatedAt DateTime @updatedAt @map("updated_at") @db.Timestamptz(3)
|
|
|
|
@@map("organizations")
|
|
}
|