migraguard 0.8.2 → 0.8.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -1
- package/cli-contract.yaml +723 -0
- package/dist/cli.js +71 -43
- package/dist/cli.js.map +1 -1
- package/dist/index.d.ts +5 -0
- package/dist/index.js +62 -37
- package/dist/index.js.map +1 -1
- package/docs/cli-reference.md +783 -0
- package/docs/commands.md +1 -0
- package/docs/state-model.md +2 -1
- package/package.json +12 -4
package/README.md
CHANGED
|
@@ -124,7 +124,8 @@ CREATE TABLE IF NOT EXISTS schema_migrations (
|
|
|
124
124
|
checksum VARCHAR(64) NOT NULL,
|
|
125
125
|
status VARCHAR(16) NOT NULL DEFAULT 'applied', -- applied / failed / skipped
|
|
126
126
|
applied_at TIMESTAMPTZ NOT NULL DEFAULT CURRENT_TIMESTAMP,
|
|
127
|
-
resolved_at TIMESTAMPTZ
|
|
127
|
+
resolved_at TIMESTAMPTZ, -- resolution timestamp for skipped
|
|
128
|
+
tag VARCHAR(256) -- caller-supplied tag (e.g. commit hash, release tag)
|
|
128
129
|
);
|
|
129
130
|
```
|
|
130
131
|
|
|
@@ -605,6 +606,8 @@ No. `verify` creates a temporary shadow DB, applies migrations twice, then drops
|
|
|
605
606
|
|
|
606
607
|
## Detailed Documentation
|
|
607
608
|
|
|
609
|
+
- [docs/cli-reference.md](docs/cli-reference.md) — Generated CLI reference (commands, options, exit codes, AI agent policies)
|
|
610
|
+
- [cli-contract.yaml](cli-contract.yaml) — Machine-readable CLI contract ([CLI Contracts](https://www.npmjs.com/package/cli-contracts) format)
|
|
608
611
|
- [docs/commands.md](docs/commands.md) — Full command reference with options and examples
|
|
609
612
|
- [docs/state-model.md](docs/state-model.md) — Apply/check/resolve/squash flows, INSERT-only design, regression detection
|
|
610
613
|
- [docs/dag-internals.md](docs/dag-internals.md) — Dependency analysis, explicit declarations, DAG migration compatibility
|