• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

supabase / cli / 26178191469
64%

Build:
DEFAULT BRANCH: develop
Ran 20 May 2026 05:17PM UTC
Jobs 1
Files 219
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

20 May 2026 05:14PM UTC coverage: 63.786% (+0.03%) from 63.759%
26178191469

push

github

web-flow
feat(cli): Add --no-apply flag for db schema declarative sync command (#5220)

## Summary

This change introduces a new flag called `no-apply` to the `db schema
declarative sync command` , allowing users to generate migration files
without applying them to the local database.

## Current behavior

```
$ supabase db schema declarative sync --name test
...
Created new migration at supabase/migrations/20260428093833_test.sql
Apply this migration to local database? [Y/n]
```

The only escape hatches today:
- `--apply` — force-applies the migration (opposite of what's wanted)
- Closing stdin via piping, e.g. `true | supabase db schema declarative
sync ... 2>&1 | cat`

Closes #5218

## New behavior

- If `--no-apply` is set, the command writes the migration file and
skips the apply step without any prompt
- `--no-apply` overrides global `--yes` and cannot be combined with
`--apply`.
- Parity with legacy TS is maintained

---------

Co-authored-by: Andrew Valleteau <avallete@users.noreply.github.com>

10015 of 15701 relevant lines covered (63.79%)

7.06 hits per line

Coverage Regressions

Lines Coverage ∆ File
74
23.61
3.2% cmd/db_schema_declarative.go
Jobs
ID Job ID Ran Files Coverage
1 26178191469.1 20 May 2026 05:17PM UTC 219
63.79
GitHub Action Run
Source Files on build 26178191469
  • Tree
  • List 219
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #26178191469
  • 46cc8586 on github
  • Prev Build on develop (#26153367610)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc