Create Prisma Models from a Domain Description

Turn a human-readable domain description into Prisma models and relationships.

category:api-backend
prisma
database
orm
0

Prompt

Convert this domain description into Prisma models.
  
  Domain description:
  [Describe entities and relationships]
  
  Requirements:
  - Use appropriate scalar types.
  - Model one-to-many and many-to-many relationships explicitly.
  - Add indexes for fields that will be queried often.
  - Include createdAt / updatedAt fields where appropriate.