CopilotHub
SearchPromptsInstructionsAgentsToolsMCPs
  1. Home
  2. Prompts
  3. Create Prisma Models from a Domain Description
Back to Prompts

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.

Related Prompts

View all →

Update JPA entity mappings for Hibernate 6

Update JPA entity mappings and annotations for Hibernate 6 compatibility.

spring-boothibernatejpa+6

Database ORM Migration (e.g. Hibernate to JPA, TypeORM to Prisma)

Safely migrate from one ORM to another in production.

category:modernizationdatabaseorm+3

Full SQL to ORM Migration (Prisma/TypeORM)

Transform raw SQL queries across a codebase into ORM equivalents.

category:modernizationsqlorm+4

Migrate SQL Schema to Prisma Schema

Convert CREATE TABLE SQL into a Prisma schema.prisma file.

category:modernizationprismasql+2

Migrate SQL Query to ORM (Prisma/TypeORM)

Convert raw SQL queries to type-safe ORM operations.

modernizationmigrationsql+3

Add a New Prisma Entity

Use Copilot to define a new Prisma model, migrate, seed, and test it.

category:databaseprismaschema+2
Browse More Prompts

CopilotHub

A curated collection of prompts, instructions, agents, and tools for AI-powered development.

Quick Links

  • Prompts
  • Instructions
  • Agents
  • Tools
  • MCPs
  • Search

Browse by Category

  • Code Generation
  • Debugging
  • Documentation
  • Refactoring
  • Testing
  • Security

Legal

  • Guidelines
  • About
  • Privacy Policy
  • Terms of Service

Community

GitHub

© 2026 CopilotHub.