Skip to content

Commit b559c06

Browse files
chore: sync allinone skill from CloudBase-AI-ToolKit
1 parent 9d4c88d commit b559c06

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

  • skills/cloudbase/references/postgresql-development-cloudbase

skills/cloudbase/references/postgresql-development-cloudbase/SKILL.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,6 @@ CloudBase PG (`app.rdb()`, `app.storage.from('bucket')`) uses **different API me
9595
Other migration actions:
9696
- `managePgDatabase(action=migrationDetail, migrationVersion=...)` — inspect a single migration
9797
- `managePgDatabase(action=fetchMigration)` — pull remote history SQL into `cloudbase/migrations/` (CLI `tcb db pg migration fetch` parity). Optional `migrationVersion` for one file; omit for full history. Existing local files are skipped unless `force=true` (overwrite / checksum realign). Prefer this over hand-copying SQL from `migrationDetail` to avoid checksum drift.
98-
- `managePgDatabase(action=rollbackMigration, lastN=..., confirm=true)` — roll back the last N applied migrations
9998
- `managePgDatabase(action=repairMigration, migrationVersion=..., migrationName=..., repairStatus=..., repairReason=...)` — repair history records
10099

101100
**`execute` is for DML and ops SQL, not default DDL:** use `managePgDatabase(action=execute, confirm=true)` for `INSERT` / `UPDATE` / `DELETE`, and for `GRANT` / `CREATE POLICY` / storage RLS when those are not part of a migration. If you attempt schema DDL via `execute`, the tool soft-blocks with `DDL_USE_APPLY_MIGRATION` unless you explicitly set `allowDdlViaExecute=true` (escape hatch only).

0 commit comments

Comments
 (0)