Prompt Foundry Prompt guides

Prompt type Database Design

Database Design
prompt generator.

Generate database-design prompts for schemas, constraints, indexes, transactions, migrations, retention, and scaling.

When to use it

Use this prompt type for a new data model, a schema redesign, migration planning, query optimization, or multi-tenant storage.

What the prompt specifies

Expect entities, relationships, executable schema, indexes, representative queries, integrity rules, concurrency, backups, and migration steps.

Strong starting idea

Design a PostgreSQL model for multi-tenant SaaS billing with subscriptions, invoices, payments, audit history, and safe migrations.

Refine the result

Production-ready adds backup, restore, rollout, rollback, monitoring, and data-lifecycle requirements.

Compile your database design prompt

Start with one sentence. You can edit, refine, compare, copy, and export the result.

Open generator