Text & chat prompt
Design a database schema
Design a database schema: a free, copy-paste prompt for ChatGPT, Gemini and Claude. Paste the prompt and replace each [BRACKETED] field with your own details.
The prompt
Design a database schema for [APPLICATION]. Database: [POSTGRESQL / MYSQL / OTHER] Main entities and rules: [DESCRIBE] Most common queries: [QUERIES] Expected size: [SCALE] Provide the tables with columns, types, primary and foreign keys, indexes, constraints and a short explanation of key design choices. Point out any trade-offs and future changes to consider.
Pro tip: Describe your top five queries up front so the schema is built for how you will use it.
How to use this prompt
- Open ChatGPT and start a new chat.
- Paste the prompt.
- Replace each [BRACKETED] field with your real details and paste in your own text where asked.
- Reply with follow-ups such as "make it shorter" or "make it sound more like me".
Prompt at a glance
- Category
- Text & chat
- Works with
- ChatGPT · Gemini · Claude
- Length
- 53 words
- Fields to fill in
- APPLICATION, POSTGRESQL / MYSQL / OTHER, DESCRIBE, QUERIES, SCALE
- Last updated
Frequently asked questions
Which AI tools work with this prompt?
It is written for ChatGPT, Gemini and Claude. Paste it into your preferred tool and adjust the wording if the result is off.
What do I need to fill in?
Replace these fields before you send it: APPLICATION, POSTGRESQL / MYSQL / OTHER, DESCRIBE, QUERIES, SCALE. Each field shows an example in the prompt.
Should I paste private information into the prompt?
Only what the task needs. Remove names, contact details and other sensitive data before pasting a resume or document into any AI tool.