// CMMS - MySQL / Prisma 7.2. Database URL remains in prisma.config.ts.
// Store timestamps in UTC; display/schedule recurrence in SystemSetting.timezone.
// Archive master records; retain maintenance, inventory and audit history.
// Cross-record validation and transactional rules are documented in schema-design.md.
// Notification.eventKey and all domain models are loaded from models/ by prisma.config.ts.
generator client {
  provider     = "prisma-client"
  output       = "../src/generated/prisma"
  moduleFormat = "cjs"
}

datasource db {
  provider = "mysql"
}
