Files
supabase__supabase/apps/docs/spec/common-cli-sections.json
Andrew Valleteau e357ec8f9f docs(cli): update local development workflow docs for pg-delta default diffing (#49280)
## I have read the
[CONTRIBUTING.md](https://github.com/supabase/supabase/blob/master/CONTRIBUTING.md)
file.

YES

## What kind of change does this PR introduce?

Docs update.

## What is the current behavior?

Linear:
[CLI-1618](https://linear.app/supabase/issue/CLI-1618/update-cli-workflow-docs-for-pg-delta-default-diffing)

Four docs pages lag the shipped CLI behavior now that `pg-delta` is the
default diff engine for projects created by a recent `supabase init`:

- **CLI workflows** claims `db diff` compares `supabase/schemas/`
against migrations. Under `pg-delta`, declarative files are never the
`db diff` baseline (and `[db.migrations].schema_paths` no longer changes
it) — the declarative flow goes through `supabase db schema declarative
sync`. The cleanup guidance describes `migra`-era output.
- **Declarative database schemas** teaches the old `db diff -f` +
`schema_paths` flow throughout, and its known-caveats list is the
`migra` issue list.
- **Managing environments** still presents `--use-migra` as an
"experimental flag" for a "more concise" diff — inverted now.
- **Backup and restore (migrating within Supabase)** and the CLI
workflows guide both steer users to `db diff`/`db pull` with `--schema
auth,storage`. Under `pg-delta`, `--schema` layers an extra exclude
policy on top of the Supabase profile: it can only narrow a diff, never
re-include managed schemas, and managed-schema selections can even fail
closed (e.g. `--schema auth` when a trigger function lives in `public`).
Unfiltered diffs are the supported path.

## What is the new behavior?

All claims verified against the CLI source at current `develop` —
including supabase/cli#6300, which upgraded the engine to
`@supabase/pg-delta` 1.0.0-alpha.46 — against the pinned pg-delta
package source (profile rules, format defaults, coverage doc), and
against a live dogfood run of the documented workflows on `develop`
`38f31b4` (two OSS corpus projects, warm shadow cache).

- **`cli-workflows.mdx`**: adds a "Which diff engine you're on" note
(`pg-delta` for new `supabase init` projects, `migra` for existing ones
until they opt in by adding `[experimental.pgdelta] enabled = true`;
per-run fallbacks `--use-migra` on `db diff` / `--diff-engine migra` on
`db pull`); corrects `db pull` and `db diff` mechanics (shadow built
from migrations vs. live database; the baseline history record is
offered, not unconditional); switches the declarative flow to `supabase
db schema declarative sync`; reworks the cleanup section around pg-delta
output (uppercase keywords at max width 180, `format_options`, per-unit
migration files with numeric segment suffixes, the `-- pg-delta:
transaction=false` directive on genuinely non-transactional files,
engine-neutral grant/revoke review guidance, coverage warnings +
`--strict-coverage`); documents what pg-delta captures in managed
schemas (user triggers, RLS policies on `auth` tables and on
`storage.objects`/`storage.buckets`/`realtime.messages`) versus what it
doesn't; adds key-command rows for the declarative commands and
troubleshooting entries (`db pull` non-zero exit when in sync, the
`schema_paths` warning, `PGDELTA_DEBUG=1` bundles under
`supabase/.temp/pgdelta/v2/debug/`).
- **`declarative-database-schemas.mdx`**: swaps `db diff -f` for `db
schema declarative sync -f` throughout; replaces
lexicographic/`schema_paths` ordering guidance with automatic dependency
ordering and the `generate` export layout (`_cluster/`, reserved
`_custom/`); bootstraps from production via `db schema declarative
generate --linked` (explicit target + `--overwrite` in scripts) and
refreshes via `db pull --declarative`; rewrites known caveats for
pg-delta (DML including storage buckets, untracked object kinds + the
`_custom/` escape hatch, managed schemas, extension-managed objects, and
the two gates when adopting an existing schema tree:
`[experimental.webhooks]` for `pg_net` migrations and declaring the
tree's extensions) keeping the `migra` workflow and issue list under a
legacy section for projects that haven't enabled it.
- **`managing-environments.mdx`**: frames the verbose grant sample as
legacy-engine output, notes that generated migrations can include grant
statements on any engine, describes `--use-migra` as a single-run
fallback, and adds a `db diff --strict-coverage` CI step.
- **`backup-restore.mdx`**: replaces `db diff --linked --schema
auth,storage` with a plain `db diff --linked` on `pg-delta` (keeping the
`--schema auth,storage` form for the legacy engine) and explains what
the engine includes (user triggers on managed tables, user RLS policies
on `auth`, `storage.objects`/`storage.buckets`/`realtime.messages`) and
what must be recreated manually.
- **New `diff-engines.mdx` page** (from #49889): the single home for how
the engine is selected, a behavior matrix for `pg-delta` versus `migra`,
the per-command fallback flags, a procedure for switching an existing
project (the first `db pull` after enabling may write a catch-up
migration), and how to go back with `enabled = false`. Registered in
navigation. A shared `diff_engine_check` partial replaces the inline
engine parentheticals across seven pages, and a
`managed_schemas_diff_capture` partial carries the managed-schema
capture rules.
- **CLI reference (`cli_v1_commands.yaml`, `cli_v1_config.yaml`)**: `db
pull`, `db schema declarative sync`/`generate` flags and descriptions,
`experimental.pgdelta.*` and `db.migrations.schema_paths` config keys,
and the `db diff` description updated to describe both engines. Note
that `cli_v1_commands.yaml` is generated from the CLI repo;
[supabase/cli#6557](https://github.com/supabase/cli/pull/6557) carries
the matching `db pull` example and overlay text so the next publish
keeps it.
- **`examples/prompts/declarative-database-schema.md`**: rewritten for
the `db schema declarative sync` flow, with the `[experimental.pgdelta]`
prerequisite.

## Additional context

The first draft was written against pg-delta 1.0.0-alpha.42.
supabase/cli#6300 (engine upgrade to alpha.46) then changed two
documented behaviors, both reflected here: generated SQL now defaults to
uppercase pretty-printed keywords, and user RLS policies on
`storage.objects`/`storage.buckets`/`realtime.messages` are included via
the engine's `SUPABASE_USER_POLICY_SURFACES` allowlist. A follow-up
dogfood run on `develop` `38f31b4` then falsified three more claims
(pg-delta emits no grant noise, `_schema_changes`/`_after_enum_values`
multi-file names, directive on every split file), all corrected in the
last commit.

**Update (Sep 14 to 17):**
[#49889](https://github.com/supabase/supabase/pull/49889) and
[#50220](https://github.com/supabase/supabase/pull/50220) were merged
into this branch, so this PR now carries the full stack. #50220
corrected the `schema_paths` warning wording (the CLI warns only when
the setting lists paths), added `auth` RLS policies to the
managed-schema partial, and described the migra initial pull accurately
(the `pg_dump` skips managed schemas and the migra diff pass that
follows appends the trigger and policy changes). It also reframed
`pg-delta` as the default for every project ahead of supabase/cli#6391.
That plan changed: no breaking default flip before Select, so
[#50332](https://github.com/supabase/supabase/pull/50332) restores the
opt-in framing (`pg-delta` requires `[experimental.pgdelta] enabled =
true`, which `supabase init` writes for new projects) and also resolves
the four CodeRabbit findings from the latest review round.

Two claims are pending confirmation from the owning teams: that
branching runs every migration in a transaction and ignores the `--
pg-delta: transaction=false` directive, and the `--db-url`
pooler-versus-direct connection advice, which currently disagrees with
the CLI's own `db pull` docs.

Stale spots found in the CLI repo's own docs while verifying (out of
scope here, worth follow-ups): four `SIDE_EFFECTS.md` files still claim
lowercase output, `docs/supabase/db/diff.md` still lists `migra`-era
"known failure cases" that alpha.46 fully models, the `supabase init`
template's commented `format_options` example shows `maxWidth: 80`
against an actual default of 180, and the CLI upgrade recipe appends
`--experimental` even when the config already enables pg-delta.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

https://claude.ai/code/session_01SUuaVmXLRbV6tZjzhka3cp

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

* **Documentation**
* Clarified `pg-delta` and legacy `migra` behavior, configuration, and
switching guidance.
* Expanded declarative schema workflows, including synchronization,
migration generation, baselines, deployment, and legacy-engine support.
* Documented managed schemas, permissions, extensions, transaction
handling, dependency ordering, and troubleshooting.
* Added guidance for strict coverage checks, output directories,
non-interactive workflows, and declarative pull modes.
* Added a dedicated diff engines guide and updated CLI navigation,
backup and restore, branching, deployment, and CI documentation.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: Claude <noreply@anthropic.com>
Co-authored-by: Wen Bo Xie <wenbox323@gmail.com>
2026-09-21 12:07:10 +02:00

925 lines
24 KiB
JSON

[
{
"title": "Introduction",
"id": "introduction",
"slug": "introduction",
"isFunc": false,
"type": "markdown"
},
{
"title": "Global flags",
"id": "global-flags",
"slug": "global-flags",
"isFunc": false,
"type": "markdown"
},
{
"type": "category",
"title": "General",
"items": [
{
"id": "supabase-bootstrap",
"title": "Launch a quick start template",
"slug": "supabase-bootstrap",
"type": "cli-command"
},
{
"id": "supabase-init",
"title": "Initialize a local project",
"slug": "supabase-init",
"type": "cli-command"
},
{
"id": "supabase-login",
"title": "Log in to a Supabase account",
"slug": "supabase-login",
"type": "cli-command"
},
{
"id": "supabase-link",
"title": "Link to a Supabase project",
"slug": "supabase-link",
"type": "cli-command"
},
{
"id": "supabase-start",
"title": "Start a container",
"slug": "supabase-start",
"type": "cli-command"
},
{
"id": "supabase-stop",
"title": "Stop all containers",
"slug": "supabase-stop",
"type": "cli-command"
},
{
"id": "supabase-status",
"title": "Retrieve container status",
"slug": "supabase-status",
"type": "cli-command"
}
]
},
{
"type": "category",
"title": "Testing",
"items": [
{
"id": "supabase-test",
"title": "Run tests",
"slug": "supabase-test",
"type": "cli-command"
},
{
"id": "supabase-test-db",
"title": "Run tests (pgTAP)",
"slug": "supabase-test-db",
"type": "cli-command"
},
{
"id": "supabase-test-new",
"title": "Create a new test",
"slug": "supabase-test-new",
"type": "cli-command"
}
]
},
{
"type": "category",
"title": "Generate Types",
"items": [
{
"id": "supabase-gen",
"title": "Run code generation tools",
"slug": "supabase-gen",
"type": "cli-command"
},
{
"id": "supabase-gen-signing-key",
"title": "Generate a JWT signing key",
"slug": "supabase-gen-signing-key",
"type": "cli-command"
},
{
"id": "supabase-gen-types",
"title": "Generate types (Postgres schema)",
"slug": "supabase-gen-types",
"type": "cli-command"
}
]
},
{
"type": "category",
"title": "Database",
"items": [
{
"id": "supabase-db",
"title": "Manage local databases",
"slug": "supabase-db",
"type": "cli-command"
},
{
"id": "supabase-db-pull",
"title": "Pull schema changes from remote database",
"slug": "supabase-db-pull",
"type": "cli-command"
},
{
"id": "supabase-db-push",
"title": "Push migration to remote database",
"slug": "supabase-db-push",
"type": "cli-command"
},
{
"id": "supabase-db-reset",
"title": "Reset local database",
"slug": "supabase-db-reset",
"type": "cli-command"
},
{
"id": "supabase-db-dump",
"title": "Dump schema from remote database",
"slug": "supabase-db-dump",
"type": "cli-command"
},
{
"id": "supabase-db-diff",
"title": "Diff local database",
"slug": "supabase-db-diff",
"type": "cli-command"
},
{
"id": "supabase-db-lint",
"title": "Lint local database",
"slug": "supabase-db-lint",
"type": "cli-command"
},
{
"id": "supabase-db-start",
"title": "Start only the local database",
"slug": "supabase-db-start",
"type": "cli-command"
},
{
"id": "supabase-db-schema",
"title": "Manage database schema",
"slug": "supabase-db-schema",
"type": "cli-command"
},
{
"id": "supabase-db-schema-declarative",
"title": "Manage declarative database schemas",
"slug": "supabase-db-schema-declarative",
"type": "cli-command"
},
{
"id": "supabase-db-schema-declarative-sync",
"title": "Generate a new migration from declarative schema",
"slug": "supabase-db-schema-declarative-sync",
"type": "cli-command"
},
{
"id": "supabase-db-schema-declarative-generate",
"title": "Generate declarative schema from a database",
"slug": "supabase-db-schema-declarative-generate",
"type": "cli-command"
}
]
},
{
"type": "category",
"title": "Migrations",
"items": [
{
"id": "supabase-migration",
"title": "Manage database migrations",
"slug": "supabase-migration",
"type": "cli-command"
},
{
"id": "supabase-migration-new",
"title": "Create a migration",
"slug": "supabase-migration-new",
"type": "cli-command"
},
{
"id": "supabase-migration-list",
"title": "List all migrations",
"slug": "supabase-migration-list",
"type": "cli-command"
},
{
"id": "supabase-migration-fetch",
"title": "Fetch migration files from history table",
"slug": "supabase-migration-fetch",
"type": "cli-command"
},
{
"id": "supabase-migration-repair",
"title": "Repair migration history table",
"slug": "supabase-migration-repair",
"type": "cli-command"
},
{
"id": "supabase-migration-squash",
"title": "Squash migrations to a single file",
"slug": "supabase-migration-squash",
"type": "cli-command"
},
{
"id": "supabase-migration-up",
"title": "Apply pending migration files",
"slug": "supabase-migration-up",
"type": "cli-command"
},
{
"id": "supabase-migration-down",
"title": "Reset migrations to a prior version",
"slug": "supabase-migration-down",
"type": "cli-command"
}
]
},
{
"type": "category",
"title": "Seed",
"items": [
{
"id": "supabase-seed",
"title": "Seed a Supabase project",
"slug": "supabase-seed",
"type": "cli-command"
},
{
"id": "supabase-seed-buckets",
"title": "Seed storage buckets from config file",
"slug": "supabase-seed-buckets",
"type": "cli-command"
}
]
},
{
"type": "category",
"title": "Inspect",
"items": [
{
"id": "supabase-inspect-db",
"title": "Inspect database statistics",
"slug": "supabase-inspect-db",
"type": "cli-command",
"items": [
{
"id": "supabase-inspect-db-bloat",
"title": "Show estimated database bloat",
"slug": "supabase-inspect-db-bloat",
"type": "cli-command"
},
{
"id": "supabase-inspect-db-blocking",
"title": "Show queries waiting and holding locks",
"slug": "supabase-inspect-db-blocking",
"type": "cli-command"
},
{
"id": "supabase-inspect-db-calls",
"title": "Show most frequently run queries",
"slug": "supabase-inspect-db-calls",
"type": "cli-command"
},
{
"id": "supabase-inspect-db-db-stats",
"title": "Show statistics related to database usage",
"slug": "supabase-inspect-db-db-stats",
"type": "cli-command"
},
{
"id": "supabase-inspect-db-index-stats",
"title": "Show sizes of individual indexes",
"slug": "supabase-inspect-db-index-stats",
"type": "cli-command"
},
{
"id": "supabase-inspect-db-locks",
"title": "Show queries taking exclusive locks",
"slug": "supabase-inspect-db-locks",
"type": "cli-command"
},
{
"id": "supabase-inspect-db-long-running-queries",
"title": "Show long running queries",
"slug": "supabase-inspect-db-long-running-queries",
"type": "cli-command"
},
{
"id": "supabase-inspect-db-outliers",
"title": "Show queries ordered by total execution time",
"slug": "supabase-inspect-db-outliers",
"type": "cli-command"
},
{
"id": "supabase-inspect-db-replication-slots",
"title": "Show information about replication slots",
"slug": "supabase-inspect-db-replication-slots",
"type": "cli-command"
},
{
"id": "supabase-inspect-db-role-stats",
"title": "Show number of active connections",
"slug": "supabase-inspect-db-role-connections",
"type": "cli-command"
},
{
"id": "supabase-inspect-db-table-stats",
"title": "Show sizes of individual tables",
"slug": "supabase-inspect-db-table-stats",
"type": "cli-command"
},
{
"id": "supabase-inspect-db-traffic-profile",
"title": "Show read / write activity ratio for tables",
"slug": "supabase-inspect-db-traffic-profile",
"type": "cli-command"
},
{
"id": "supabase-inspect-db-vacuum-stats",
"title": "Show statistics related to vacuum operations",
"slug": "supabase-inspect-db-vacuum-stats",
"type": "cli-command"
}
]
},
{
"id": "supabase-inspect-report",
"title": "Inspect all database statistics and save output",
"slug": "supabase-inspect-report",
"type": "cli-command"
}
]
},
{
"type": "category",
"title": "Organizations",
"items": [
{
"id": "supabase-orgs",
"title": "Manage organizations",
"slug": "supabase-orgs",
"type": "cli-command"
},
{
"id": "supabase-orgs-create",
"title": "Create an organization",
"slug": "supabase-orgs-create",
"type": "cli-command"
},
{
"id": "supabase-orgs-list",
"title": "List all organizations",
"slug": "supabase-orgs-list",
"type": "cli-command"
}
]
},
{
"type": "category",
"title": "Projects",
"items": [
{
"id": "supabase-projects",
"title": "Manage projects",
"slug": "supabase-projects",
"type": "cli-command"
},
{
"id": "supabase-projects-create",
"title": "Create a project",
"slug": "supabase-projects-create",
"type": "cli-command"
},
{
"id": "supabase-projects-list",
"title": "List all projects",
"slug": "supabase-projects-list",
"type": "cli-command"
},
{
"id": "supabase-projects-api-keys",
"title": "Show API keys for a project",
"slug": "supabase-projects-api-keys",
"type": "cli-command"
},
{
"id": "supabase-projects-delete",
"title": "Delete a project",
"slug": "supabase-projects-delete",
"type": "cli-command"
}
]
},
{
"type": "category",
"title": "Config",
"items": [
{
"id": "supabase-config",
"title": "Manage project configurations",
"slug": "supabase-config",
"type": "cli-command"
},
{
"id": "supabase-config-push",
"title": "Push config from a local file",
"slug": "supabase-config-push",
"type": "cli-command"
}
]
},
{
"type": "category",
"title": "Branches",
"items": [
{
"id": "supabase-branches",
"title": "Manage preview branches",
"slug": "supabase-branches",
"type": "cli-command"
},
{
"id": "supabase-branches-create",
"title": "Create a preview branch",
"slug": "supabase-branches-create",
"type": "cli-command"
},
{
"id": "supabase-branches-list",
"title": "List all preview branches",
"slug": "supabase-branches-list",
"type": "cli-command"
},
{
"id": "supabase-branches-get",
"title": "Show connection details for a preview branch",
"slug": "supabase-branches-get",
"type": "cli-command"
},
{
"id": "supabase-branches-update",
"title": "Update a preview branch",
"slug": "supabase-branches-update",
"type": "cli-command"
},
{
"id": "supabase-branches-pause",
"title": "Pause a preview branch",
"slug": "supabase-branches-pause",
"type": "cli-command"
},
{
"id": "supabase-branches-unpause",
"title": "Unpause a preview branch",
"slug": "supabase-branches-unpause",
"type": "cli-command"
},
{
"id": "supabase-branches-delete",
"title": "Delete a preview branch",
"slug": "supabase-branches-delete",
"type": "cli-command"
},
{
"id": "supabase-branches-disable",
"title": "Disable preview branching",
"slug": "supabase-branches-disable",
"type": "cli-command"
}
]
},
{
"type": "category",
"title": "Edge Functions",
"items": [
{
"id": "supabase-functions",
"title": "Manage edge functions",
"slug": "supabase-functions",
"type": "cli-command"
},
{
"id": "supabase-functions-new",
"title": "Create a function",
"slug": "supabase-functions-new",
"type": "cli-command"
},
{
"id": "supabase-functions-list",
"title": "List all functions",
"slug": "supabase-functions-list",
"type": "cli-command"
},
{
"id": "supabase-functions-download",
"title": "Download a function",
"slug": "supabase-functions-download",
"type": "cli-command"
},
{
"id": "supabase-functions-serve",
"title": "Serve functions locally",
"slug": "supabase-functions-serve",
"type": "cli-command"
},
{
"id": "supabase-functions-deploy",
"title": "Deploy a function",
"slug": "supabase-functions-deploy",
"type": "cli-command"
},
{
"id": "supabase-functions-delete",
"title": "Delete a function",
"slug": "supabase-functions-delete",
"type": "cli-command"
}
]
},
{
"type": "category",
"title": "Secrets",
"items": [
{
"id": "supabase-secrets",
"title": "Manage secrets",
"slug": "supabase-secrets",
"type": "cli-command"
},
{
"id": "supabase-secrets-set",
"title": "Set a secret",
"slug": "supabase-secrets-set",
"type": "cli-command"
},
{
"id": "supabase-secrets-list",
"title": "List all secrets",
"slug": "supabase-secrets-list",
"type": "cli-command"
},
{
"id": "supabase-secrets-unset",
"title": "Unset a secret",
"slug": "supabase-secrets-unset",
"type": "cli-command"
}
]
},
{
"type": "category",
"title": "Storage",
"items": [
{
"id": "supabase-storage",
"title": "Manage Storage objects",
"slug": "supabase-storage",
"type": "cli-command"
},
{
"id": "supabase-storage-ls",
"title": "Lists all Storage objects",
"slug": "supabase-storage-ls",
"type": "cli-command"
},
{
"id": "supabase-storage-cp",
"title": "Upload and download from Storage",
"slug": "supabase-storage-cp",
"type": "cli-command"
},
{
"id": "supabase-storage-mv",
"title": "Move objects within a bucket",
"slug": "supabase-storage-mv",
"type": "cli-command"
},
{
"id": "supabase-storage-rm",
"title": "Delete objects from Storage",
"slug": "supabase-storage-rm",
"type": "cli-command"
}
]
},
{
"type": "category",
"title": "Authentication",
"items": [
{
"id": "supabase-sso",
"title": "Manage SSO on your project",
"slug": "supabase-sso",
"type": "cli-command"
},
{
"id": "supabase-sso-add",
"title": "Add an identity provider",
"slug": "supabase-sso-add",
"type": "cli-command"
},
{
"id": "supabase-sso-list",
"title": "List all identity providers",
"slug": "supabase-sso-list",
"type": "cli-command"
},
{
"id": "supabase-sso-show",
"title": "Show information for an identity provider",
"slug": "supabase-sso-show",
"type": "cli-command"
},
{
"id": "supabase-sso-info",
"title": "See your project's SSO information",
"slug": "supabase-sso-info",
"type": "cli-command"
},
{
"id": "supabase-sso-update",
"title": "Update an identity provider",
"slug": "supabase-sso-update",
"type": "cli-command"
},
{
"id": "supabase-sso-remove",
"title": "Remove an identity provider",
"slug": "supabase-sso-remove",
"type": "cli-command"
}
]
},
{
"type": "category",
"title": "Custom Domains",
"items": [
{
"id": "supabase-domains",
"title": "Manage custom domains",
"slug": "supabase-domains",
"type": "cli-command"
},
{
"id": "supabase-domains-activate",
"title": "Activate custom hostname",
"slug": "supabase-domains-activate",
"type": "cli-command"
},
{
"id": "supabase-domains-create",
"title": "Create a custom hostname",
"slug": "supabase-domains-create",
"type": "cli-command"
},
{
"id": "supabase-domains-get",
"title": "Retrieve custom hostname config",
"slug": "supabase-domains-get",
"type": "cli-command"
},
{
"id": "supabase-domains-reverify",
"title": "Re-verify custom hostname config",
"slug": "supabase-domains-reverify",
"type": "cli-command"
},
{
"id": "supabase-domains-delete",
"title": "Delete custom hostname config",
"slug": "supabase-domains-delete",
"type": "cli-command"
}
]
},
{
"type": "category",
"title": "Vanity Subdomains",
"items": [
{
"id": "supabase-vanity-subdomains",
"title": "Manage vanity subdomains",
"slug": "supabase-vanity-subdomains",
"type": "cli-command"
},
{
"id": "supabase-vanity-subdomains-activate",
"title": "Activate a vanity subdomain",
"slug": "supabase-vanity-subdomains-activate",
"type": "cli-command"
},
{
"id": "supabase-vanity-subdomains-get",
"title": "Retrieve vanity subdomain",
"slug": "supabase-vanity-subdomains-get",
"type": "cli-command"
},
{
"id": "supabase-vanity-subdomains-check-availability",
"title": "Check subdomain availability",
"slug": "supabase-vanity-subdomains-check-availability",
"type": "cli-command"
},
{
"id": "supabase-vanity-subdomains-delete",
"title": "Delete vanity subdomain",
"slug": "supabase-vanity-subdomains-delete",
"type": "cli-command"
}
]
},
{
"type": "category",
"title": "Network Bans",
"items": [
{
"id": "supabase-network-bans",
"title": "Manage network bans",
"slug": "supabase-network-bans",
"type": "cli-command"
},
{
"id": "supabase-network-bans-get",
"title": "Retrieve network bans",
"slug": "supabase-network-bans-get",
"type": "cli-command"
},
{
"id": "supabase-network-bans-remove",
"title": "Remove a network ban",
"slug": "supabase-network-bans-remove",
"type": "cli-command"
}
]
},
{
"type": "category",
"title": "Network Restrictions",
"items": [
{
"id": "supabase-network-restrictions",
"title": "Manage network restrictions",
"slug": "supabase-network-restrictions",
"type": "cli-command"
},
{
"id": "supabase-network-restrictions-get",
"title": "Retrieve network restrictions",
"slug": "supabase-network-restrictions-get",
"type": "cli-command"
},
{
"id": "supabase-network-restrictions-update",
"title": "Update network restrictions",
"slug": "supabase-network-restrictions-update",
"type": "cli-command"
}
]
},
{
"type": "category",
"title": "SSL Enforcement",
"items": [
{
"id": "supabase-ssl-enforcement",
"title": "Manage SSL enforcement configurations",
"slug": "supabase-ssl-enforcement",
"type": "cli-command"
},
{
"id": "supabase-ssl-enforcement-get",
"title": "Retrieve the current SSL enforcement configurations",
"slug": "supabase-ssl-enforcement-get",
"type": "cli-command"
},
{
"id": "supabase-ssl-enforcement-update",
"title": "Update SSL enforcement configurations",
"slug": "supabase-ssl-enforcement-update",
"type": "cli-command"
}
]
},
{
"type": "category",
"title": "Postgres Config",
"items": [
{
"id": "supabase-postgres-config",
"title": "Manage Postgres configurations",
"slug": "supabase-postgres-config",
"type": "cli-command"
},
{
"id": "supabase-postgres-config-get",
"title": "Retrieve the current Postgres config overrides",
"slug": "supabase-postgres-config-get",
"type": "cli-command"
},
{
"id": "supabase-postgres-config-update",
"title": "Update Postgres configurations",
"slug": "supabase-postgres-config-update",
"type": "cli-command"
},
{
"id": "supabase-postgres-config-delete",
"title": "Delete Postgres configurations",
"slug": "supabase-postgres-config-delete",
"type": "cli-command"
}
]
},
{
"type": "category",
"title": "SQL Snippets",
"items": [
{
"id": "supabase-snippets",
"title": "Manage Supabase SQL snippets",
"slug": "supabase-snippets",
"type": "cli-command"
},
{
"id": "supabase-snippets-list",
"title": "List all SQL snippets",
"slug": "supabase-snippets-list",
"type": "cli-command"
},
{
"id": "supabase-snippets-download",
"title": "Download SQL snippet content",
"slug": "supabase-snippets-download",
"type": "cli-command"
}
]
},
{
"type": "category",
"title": "Services",
"items": [
{
"id": "supabase-services",
"title": "Show versions of all Supabase services",
"slug": "supabase-services",
"type": "cli-command"
}
]
},
{
"type": "category",
"title": "Autocompletion Scripts",
"items": [
{
"id": "supabase-completion",
"title": "Generate autocompletion scripts",
"slug": "supabase-completion",
"type": "cli-command"
},
{
"id": "supabase-completion-zsh",
"title": "Generate zsh script",
"slug": "supabase-completion-zsh",
"type": "cli-command"
},
{
"id": "supabase-completion-powershell",
"title": "Generate powershell script",
"slug": "supabase-completion-powershell",
"type": "cli-command"
},
{
"id": "supabase-completion-fish",
"title": "Generate fish script",
"slug": "supabase-completion-fish",
"type": "cli-command"
},
{
"id": "supabase-completion-bash",
"title": "Generate bash script",
"slug": "supabase-completion-bash",
"type": "cli-command"
}
]
},
{
"type": "category",
"title": "Telemetry",
"items": [
{
"id": "supabase-telemetry",
"title": "Manage CLI telemetry settings",
"slug": "supabase-telemetry",
"type": "cli-command"
}
]
}
]