db-migrate

Apply pending Supabase migrations and verify the resulting database schema.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/alexanderjamesmcleod/makecents --skill db-migrate-alexanderjamesmcleod
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: db-migrate
Source: https://github.com/alexanderjamesmcleod/makecents/tree/main/src/skills/development/db-migrate.skill
Command: npx skills add https://github.com/alexanderjamesmcleod/makecents --skill db-migrate-alexanderjamesmcleod

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires docker, and includes scripts (resource) and references (resource) components.

What problem does it solve?

Apply all pending Supabase migrations and verify schema.

Core Features & Use Cases

  • Automatically detect and apply all pending migrations from supabase/migrations.
  • Verify the database schema after applying migrations to ensure integrity.
  • Use case: When new migrations appear, run db-migrate to bring environments into sync and validate results.

Quick Start

Run db-migrate to apply all pending migrations and verify the database schema.

Frequently Asked Questions about db-migrate

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I apply pending Supabase migrations and verify the database schema?

To apply pending Supabase migrations and verify the database schema, run db-migrate. It automatically detects pending migrations from your supabase/migrations directory, applies them, and then validates the resulting schema integrity.

Do I need Docker to run Supabase schema migrations?

Yes, you need Docker to run Supabase schema migrations with this tool. It requires a Docker-based Supabase setup and access to your local migrations directory to apply pending schema changes and verify the results.

What is the best way to sync staging and production Supabase databases?

The best way to sync staging and production Supabase databases is to run db-migrate. It brings your environments into sync by applying all pending migrations from the supabase/migrations folder and verifying the database schema.

Why does my Supabase database schema need verification after applying migrations?

Your Supabase database schema needs verification after applying migrations to ensure integrity. The script wrapper validates the resulting schema immediately after applying pending changes, preventing data inconsistencies across local, staging, and production environments.

Can I use db-migrate for local Supabase development environments?

Yes, you can use db-migrate for local Supabase development environments. It is designed for developers and DevOps teams managing migrations across local, staging, and production setups using a Docker-based Supabase environment.