// This is your Prisma schema file,
// learn more about it in the docs: https://pris.ly/d/prisma-schema

generator client {
  provider        = "prisma-client-js"
  previewFeatures = ["typedSql", "prismaSchemaFolder"]
  /// relationJoins is not available for MySQL < 8.0.14 and MariaDB.
  /// previewFeatures = ["relationJoins"]
}

/// Always after the prisma-client-js generator
generator json {
  provider = "prisma-json-types-generator"
  // clientOutput = "lib/db/prisma/generated"
}

// generator zod {
//   provider                  = "zod-prisma-types"
//   useMultipleFiles          = true
//   createRelationValuesTypes = true
// }

datasource db {
  provider = "mysql"
  url      = env("DATABASE_URL")
}
