What problem does it solve?
Migrations for multi-tenant databases are error-prone without standardized templates, tenant-scoped access controls, and safe rollback mechanisms. This Skill provides a structured workflow and templates to enforce consistent migration patterns, RLS policies, and type updates across infra/supabase migrations.
Core Features & Use Cases
- Standardizes the migration workflow with timestamped file naming and rollback scaffolding.
- Enforces tenant isolation via RLS policies and explicit organization_id constraints.
- Guides TypeScript type updates and integration steps for related backend services.
- Use Case: Deploy schema changes, access policy updates, and data migrations across tenants with auditable rollback.
Quick Start
Create a new migration file using the timestamped format and provide a matching rollback using the templates in references/migration-template.sql and references/rollback-template.sql