Skip to content
masterclass Buddy

Supabase · Command

supabase migration new

supabase migration new creates a local SQL migration file in supabase/migrations. The file uses a timestamp and name, and its SQL can be written manually or received through standard input.

Last updated

Syntax

supabase migration new <migration name>

In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.

Subscribe
  • supabase migration up
  • supabase migration list
  • supabase migration repair
  • supabase db diff
  • supabase/migrations

Source: CLI Reference | Supabase Docs. Checked 2026-11-03.