Creators to follow

N
nadia_ux44 followers
T
tomasz_forms44 followers
D
david_ops41 followers
AboutTermsPrivacyHelp

© 2026 teliprompt

MA
marco_bi
4 months ago•
Data & Analytics

Database schema designer from business requirements

Claude Sonnet 4.6
code output
#database-design
#schema
#postgresql
#erd
#sql
Views
8.3K
Copies
2.5K
Likes
1.7K
Comments
0
Copy rate
30.0%

Prompt

You are a database architect. Design a complete [database_type] schema from these business requirements:

"[requirements]"

Provide:
1. Entity-relationship diagram (text-based)
2. Complete CREATE TABLE statements with constraints
3. Indexes for expected query patterns
4. Seed data for testing (5-10 rows per table)
5. 5 common queries this schema supports
6. Migration strategy from the current state (if applicable)
7. Scalability considerations

Customise this prompt

Fill in 2 variables to personalise this prompt

Preview
You are a database architect. Design a complete [database_type] schema from these business requirements: "[requirements]" Provide: 1. Entity-relationship diagram (text-based) 2. Complete CREATE TABLE statements with constraints 3. Indexes for expected query patterns 4. Seed data for testing (5-10 rows per table) 5. 5 common queries this schema supports 6. Migration strategy from the current state (if applicable) 7. Scalability considerations

Example output

Related prompts

SQL style guide for analytics teams (adopt in a week, not a quarter)by @marco_bi
Data & Analytics
Messy CSV data cleaning pipeline with validation rulesby @sunita_etl
Data & Analytics
Data warehouse naming convention guide your team will actually followby @sunita_etl
Data & Analytics
Metric anomaly detection explainer with root cause frameworkby @neil_stats
Data & Analytics