db-migration - Safe Supabase Database Migration Patterns
Guides safe DDL operations for Supabase with RLS audit and schema validation
Tags
Updated: 2026-03-25Capabilities
Typical Inputs
Typical Outputs
What this skill does
- analyze table size and rows
- evaluate table dependencies
- classify migration risk
- write migration SQL
- write rollback SQL
- apply migration
- verify schema changes
- audit RLS policies
- validate data
- create table
- drop table
- add column
- drop column
- alter column type
- create index
- drop index
- prepare rollback scripts
- execute validation queries
Inputs
- Migration name
- Target table
- Operation type
- Supabase database
Outputs
- Migration report
- Applied schema changes
- Verification results
- Rollback scripts
Requirements
- Supabase project access
- MCP tools
- SQL development environment
