import chalk from 'chalk' ; import { highlightDatamodel } from '../highlight/highlight' ; import { link } from '../link' ; export const missingGeneratorMessage = `\n${ chalk . blue ( 'info' ) } You don't have any generators defined in your ${ chalk . bold ( 'schema.prisma' ) }, so nothing will be generated.
You can define them like this:

${ chalk . bold ( highlightDatamodel ( `generator client {
  provider = "prisma-client-js"
}` ) ) }` ; export const missingModelMessage = `\nYou don't have any ${ chalk . bold ( 'models' ) } defined in your ${ chalk . bold ( 'schema.prisma' ) }, so nothing will be generated.
You can define a model like this:

${ chalk . bold ( highlightDatamodel ( `model User {
  id    Int     @id @default(autoincrement())
  email String  @unique
  name  String?
}` ) ) }

More information in our documentation:
${ link ( 'https://pris.ly/d/prisma-schema' ) }
` ; export const missingModelMessageMongoDB = `\nYou don't have any ${ chalk . bold ( 'models' ) } defined in your ${ chalk . bold ( 'schema.prisma' ) }, so nothing will be generated.
You can define a model like this:

${ chalk . bold ( highlightDatamodel ( `model User {
  id    String  @id @default(dbgenerated()) @map("_id") @db.ObjectId
  email String  @unique
  name  String?
}` ) ) }

More information in our documentation:
${ link ( 'https://pris.ly/d/prisma-schema' ) }
` ;