Event Name

CreatePrismaSchema

Event Parameters

entities
Entity[]

The entities that will be generated as models in the Prisma schema and represent the table name. By default, this param value is the entities that the user sets in the UI (Amplication dashboard).

dataSource
PrismaDataSource

Represents the data source type of Prisma provider (PostgreSQL, MySQL, MongoDB, etc.).

clientGenerator
PrismaClientGenerator

A generator determines which assets are created when you run the Prisma generate command. For more information: Prisma Generators.