home/coding/database-schema-2

Database Schema

GPTClaudeDeepSeek··1,296 copies·updated 2026-07-14
database-schema-2.prompt
# 05 — Database schema design + migration

## Context

Use this when you need to translate a list of entities + relationships
into a real schema (Postgres) with a SQLAlchemy 2.x typed-ORM model
file and an Alembic migration. AI is great at the boilerplate;
*you* have to keep it from inventing fields.

## Template

when to use it

Community prompt sourced from the open-source GitHub repo thunderstornX/cursor-vibe-starter (MIT). A "Database Schema" style prompt — adapt the placeholders and specifics to your task. Imported as-is and not independently retested here, so check the output before relying on it.

tags

codingcommunitydeveloper

source

thunderstornX/cursor-vibe-starter · MIT