VibeRescue · Blog

Supabase CLI v3: your db push passed, but production didn't change

November 19, 2026 · 5 min read

You asked Cursor, Claude Code or Lovable for a new table or column. The GitHub Action that deploys your database is green, but the live app says the table doesn't exist, or the new feature shows nothing. Since November 2, 2026, the Supabase CLI that most pipelines install is version 3, and it changed where commands run. Your code is probably fine. The deploy command just never reached your hosted project.

What changed on November 2, 2026

Source: Supabase CLI v3 changelog and Migrating to Supabase CLI v3, checked November 19, 2026.

Which symptom do you have?

What you seeWhyFix
The deploy job is green, but the live app says a table or column doesn't existThe job started a local stack (for tests) and a bare db push went thereAdd --remote and --yes
db push fails because no local database is runningWithout --remote it now looks for the local stackAdd --remote and --yes
HostedMutationConsentRequiredError on functions deploy, secrets set, config push or db pushCI can't answer the new confirmationAdd --yes
[inbucket] in supabase/config.toml is no longer supportedThe config file is from before v2.108.0Rename the section to [local_smtp]
Generated types are missing your new columnsgen types now reads the local databaseUse gen types typescript --remote

Find it in your repo in two minutes

  1. Open .github/workflows/ on GitHub and look for supabase/setup-cli. If it has no version:, your jobs already run v3, unless a package-lock.json, pnpm-lock.yaml or bun.lock at the root of the repo pins supabase.
  2. Search the repo (workflows, package.json scripts, deploy scripts) for supabase db push, functions deploy, secrets set, config push, gen types and echo y |.
  3. Open supabase/config.toml and search for [inbucket].

The fix: v2 command to v3 command

From Supabase's quick reference for CI. Change only the lines your repo has:

supabase db push                        →  supabase db push --yes --remote
supabase db push --db-url "$DB_URL"     →  supabase db push --yes --remote="$DB_URL"
supabase migration list --linked        →  supabase migration list --remote
supabase gen types typescript --project-id "$REF"  →  supabase gen types typescript --remote="$REF"
supabase functions deploy               →  supabase functions deploy --yes
supabase secrets set --env-file .env.production  →  supabase secrets set --env-file .env.production --yes
supabase config push                    →  supabase config push --yes
echo y | supabase ...                   →  supabase ... --yes

Supabase notes that supabase db push --linked --yes works on both v2 and v3, so you can change the workflow before the CLI version changes under you.

Or stay on v2 for now

If you don't have time to review every command, pin v2 and upgrade later. v2 still gets security fixes and fixes for broken behavior, but no new features.

steps:
  - uses: supabase/setup-cli@v3
    with:
      version: v2.stable

# or, if the CLI comes from npm:
npm install supabase@v2.stable --save-dev

Check that production really changed

A new table that loads but returns 42501 permission denied is a different problem: since October 30, new tables need grants. See the 42501 guide.

Ask your AI tool for a narrow change

Paste this into Cursor, Claude Code or your builder's agent so it fixes the deploy commands and nothing else:

Supabase CLI v3 (Nov 2, 2026) runs database commands on the local stack
unless --remote is passed, and hosted changes need --yes in CI.
Only edit .github/workflows/*, package.json scripts and supabase/config.toml.
1) List every supabase command that should reach my hosted project.
2) Add --remote to database commands and --yes to unattended hosted changes,
   using Supabase's v2 to v3 quick reference. Remove any "echo y |".
3) Rename [inbucket] to [local_smtp] in supabase/config.toml if present.
Do NOT change migrations, app code or secrets. Show me the diff first.

Never paste access tokens or database passwords into the chat.

FAQ

Is my Supabase data or project affected?

No. Supabase says v3 changes the CLI only. Hosted projects, their data and self-hosted Supabase are not affected. What changes is where a command runs and whether it asks before changing your hosted project.

Why did my deploy job pass if nothing reached production?

If the job started a local Supabase stack, for example to run tests, a bare supabase db push now runs against that local stack and succeeds there. It never touches your hosted project, so the job is green and production has no new table.

Do I have to upgrade to v3 now?

No. You can pin v2 (version: v2.stable on supabase/setup-cli@v3, or npm install supabase@v2.stable --save-dev) and upgrade on your own schedule. v2 still gets security fixes and fixes for broken behavior, but no new features.

Does this affect an app I only edit in Lovable or Bolt?

Only if something runs the Supabase CLI for your app: a GitHub Action, a deploy script, or an AI coding agent in your terminal. Supabase lists CI, deploy scripts and AI coding agents as the affected cases.

Want a free health check?

Paste a public GitHub repo into /check/ for the dated platform checks, or into the free Rescue Scan to classify the problem type. Both run in your browser; nothing is stored.

Run the free monthly checks → Run the free Rescue Scan →