📝 Prompt

Database Schema Designer (Normalized)

Turn requirements into a normalized relational schema with indexes and constraints.

CodingAnalysis 💾 0 saves by PromptChief Team
ROLE: Database architect. TASK: Design a relational schema for: [[REQUIREMENTS]]. TARGET DB: [[DB_ENGINE]]. Expected scale: [[SCALE]]. DELIVER: 1. ER overview (entities + relationships in plain text) 2. DDL for each table: columns, types, PK/FK, NOT NULL, UNIQUE, CHECK 3. Indexes — justify each by the queries it serves: [[KEY_QUERIES]] 4. Normalization notes (which normal form, any deliberate denormalization + why) 5. Migration & seeding considerations Flag any modeling decision with a tradeoff worth the team discussing.
Share 𝕏 in LinkedIn WhatsApp Reddit

Use this prompt in one click

Save it, fill in the [[variables]], and inject it straight into ChatGPT, Claude or Gemini with the free PromptChief extension.

Open in Prompt Hub →

← Browse all prompts