ReferenceCLI
stash db
Reference for the `stash db` commands.
Generated from stash v1.0.0 via npx [email protected] manifest --json. Run npx [email protected] --help to see the live command surface.
The stash db command group.
db validate
Validate encryption schema
npx stash db validate [flags]Flags
| Flag | Description |
|---|---|
--supabase | Use Supabase-compatible mode. |
--exclude-operator-family | Skip operator family creation. |
--database-url <url> | Database URL for this run only — never written to disk. Highest precedence in the resolution order: --database-url flag → DATABASE_URL env → supabase status → interactive prompt. A stash.config.ts is not a separate tier (its default databaseUrl re-runs this same chain); a hand-set literal databaseUrl in the config bypasses the resolver and wins over all of these. (env: DATABASE_URL) |
db migrate
Run pending encrypt config migrations (not yet implemented)
npx stash db migratedb test-connection
Test database connectivity
npx stash db test-connection [flags]Flags
| Flag | Description |
|---|---|
--database-url <url> | Database URL for this run only — never written to disk. Highest precedence in the resolution order: --database-url flag → DATABASE_URL env → supabase status → interactive prompt. A stash.config.ts is not a separate tier (its default databaseUrl re-runs this same chain); a hand-set literal databaseUrl in the config bypasses the resolver and wins over all of these. (env: DATABASE_URL) |