db-migration

Create, edit, and apply SQL migrations to a Supabase PostgreSQL database.

Updated Mar 7, 2026
One-click install
npx skills add https://github.com/tagty/taskflow --skill db-migration-tagty
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: db-migration
Source: https://github.com/tagty/taskflow/tree/main/.claude/skills/db-migration
Command: npx skills add https://github.com/tagty/taskflow --skill db-migration-tagty

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill streamlines the process of creating, editing, and applying database migrations for Supabase projects, ensuring database schema changes are managed systematically.

Core Features & Use Cases

  • Create New Migrations: Generates new migration files with a specified name.
  • Edit Migration Files: Provides guidance on SQL syntax for creating tables, adding columns, and defining ENUM types.
  • Apply Migrations: Executes pending database migrations using the Supabase CLI.
  • Use Case: When adding a new feature that requires database schema changes, use this Skill to create a migration, define the new table structure, and then apply it to your Supabase database.

Quick Start

Use the db-migration skill to create a new migration file named add_user_profiles.

Frequently Asked Questions about db-migration

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

FAQPage Schema
How do I create and apply Supabase database migrations?

To manage Supabase database migrations, this Skill generates new SQL migration files with a specified name, allows you to define table structures and ENUM types, and executes the pending schema changes via the Supabase CLI.

What is the best way to manage Supabase schema evolution through SQL?

The best way to manage Supabase schema evolution is by using version-controlled SQL migration files that define table structures and ENUM types, which are then applied to the PostgreSQL database to ensure synchronized type updates.

Can I add columns and define ENUM types in a Supabase migration?

Yes, you can add columns and define ENUM types in a Supabase migration. The Skill provides specific SQL syntax guidance for creating tables, adding columns, and defining ENUM types within your migration files before applying them.

Do I need the Supabase CLI to apply database migrations?

Yes, the Supabase CLI is required to apply database migrations. The Skill executes pending database schema changes and applies them directly to the Supabase PostgreSQL database by utilizing the Supabase CLI.

When do I need to create a new database migration file?

You need to create a new database migration file when adding a new feature that requires database schema changes, such as defining a new table structure or modifying existing columns in your Supabase PostgreSQL database.