database-design
Installation
SKILL.md
database-design
SQL schema design, ORM patterns, migration strategies, query optimisation, and data-modelling for relational databases.
When to use
- Design a schema for a multi-tenant SaaS application
- Write an Alembic migration to add a non-null column to an existing table
- This query takes 4 seconds, help me add the right index
- Should I use a junction table or an array column for tags?
- Model a user → orders → line-items hierarchy in SQLAlchemy
- What constraints should I add to prevent orphaned records?
- Explain the difference between 3NF and BCNF
- Write a Drizzle ORM schema for a blog with posts, tags, and comments