Database Schema Designer

Design a normalized database schema from requirements

6/11/2026
Prompt
Design a complete database schema based on these requirements:

**Application Type:** {{APPLICATION_TYPE}}
**Core Entities:** {{CORE_ENTITIES}}
**Key Relationships:** {{KEY_RELATIONSHIPS}}
**Expected Data Volume:** {{DATA_VOLUME}}
**Database System:** {{DATABASE_SYSTEM}}

Please provide:
1. Entity-Relationship Diagram description
2. Complete CREATE TABLE statements with:
   - Primary keys
   - Foreign keys with appropriate ON DELETE/UPDATE actions
   - Constraints (NOT NULL, UNIQUE, CHECK)
   - Appropriate data types
3. Normalization analysis (ensure at least 3NF)
4. Index recommendations for common queries
5. Any denormalization suggestions for performance
6. Sample seed data INSERT statements

Or press ⌘C to copy

Variables (5)

Replace these placeholders with your own content before using the prompt.

[{APPLICATION_TYPE][{CORE_ENTITIES][{KEY_RELATIONSHIPS][{DATA_VOLUME][{DATABASE_SYSTEM]

Ready to use?

Copy and paste into your favorite AI tool

Test this prompt live

Try it in our AI Playground with Claude

Open Playground

Explore more Coding prompts

Browse Coding

Command Palette

Search for a command to run...