veta-db-migrations
CommunityApply safe local Supabase migrations.
Software Engineering#rls#supabase#sql#local development#schema changes#type generation#db migrations
Authormarcogonzalo
Version1.0.0
Installs0
System Documentation
What problem does it solve?
It prevents risky or destructive schema changes by enforcing a safe, local-only Supabase migration workflow with RLS and updated TypeScript types.
Core Features & Use Cases
- Local-only migration execution: Use Supabase CLI commands that apply changes to the local database only, avoiding accidental production impact.
- Migration correctness with RLS: Ensure every new table enables RLS and includes required policies for SELECT/INSERT/UPDATE/DELETE.
- Type safety after schema changes: Update the project’s TypeScript types (including generated Supabase types) so the app remains consistent with the Postgres schema.
Quick Start
Tell me to create a new timestamped SQL migration for a proposed schema change, including RLS policies and the necessary TypeScript type updates, and to generate the exact local db:push/db:reset workflow you want me to follow.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: veta-db-migrations Download link: https://github.com/marcogonzalo/studio-manager/archive/main.zip#veta-db-migrations Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.