Task prompt · Coding

Design a database schema for my app

by Agent Yard Team

Get tables, relations and indexes for a new app.

You'll attach

Text only

Works with

ChatGPTClaudeGeminiGrokCopilotGrok Bot

Use cases

  • Get tables, relations and indexes for a new app.
  • Reuse it as often as you like: fill in the blanks (app description; key actions) with new details and copy again.
  • With ChatGPT, Claude, Gemini and more, the AIs that support what this prompt needs.

How to use it

  1. Open chatgpt.com or claude.ai (or another AI listed here).
  2. Fill in the highlighted blanks ([APP DESCRIPTION], [KEY ACTIONS]) below, or edit them after pasting.
  3. Copy the prompt, paste it into the chat and send.

Fill in the blanks (optional)

Prompt

Remix
Design a relational database schema for: [APP DESCRIPTION].
Main things users do: [KEY ACTIONS].

Give: tables with columns, types and constraints; relationships; indexes and why; how you'd handle soft deletes, timestamps and multi-tenancy if relevant. Then show the SQL (Postgres) to create it and 3 example queries the app will run most.
One email a week

The best new prompts and personas, nothing else.

The Weekly is presented byyour brandSponsored · open

More Coding prompts

Footer partner · openThis strip runs at the foot of every page. One partner at a time.Ask about it →