# Safe Postgres migrations

> Plans and tests PostgreSQL schema changes with lock levels in mind, so live tables change without downtime.

- Page: https://youraiskill.com/skill/timescale-postgres-database-migration
- What it does: Use this skill for planning, testing, and safely executing PostgreSQL schema migrations — especially when working with production data or shared databases. **Trigger when user asks to:** - Test a schema migration before applying it to production - Add, remove, or rename columns safely on a live table - Change a column's data type without downtime - Add or drop indexes, constraints, or foreign keys
- Niches: backend
- Licence: Apache-2.0
- Status: Checked: open licence, author credited, passed the YourAISkill safety scan. Can be added to a paid pack.
- Contents: instructions and reference files only

To add it, see https://youraiskill.com/guides/how-to-add-a-skill-to-claude
