@ultimat3/db 25.2.0 → 26.1.0

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 CHANGED
@@ -574,9 +574,9 @@ job the moment Postgres fails over.
574
574
  ```bash
575
575
  x db migrate --json
576
576
  x db gen "add publish_at"
577
- x db branch ls --json
577
+ x db branch list --json
578
578
  x db branch create feature_x
579
- x db branch drop feature_x
579
+ x db branch delete feature_x
580
580
  ```
581
581
 
582
582
  **Drift has no subcommand of its own.** The database half runs *inside* `x db migrate`, which calls
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ultimat3/db",
3
- "version": "25.2.0",
3
+ "version": "26.1.0",
4
4
  "description": "Postgres access, transactions, migrations and drift detection",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -33,7 +33,7 @@
33
33
  "test": "bun test"
34
34
  },
35
35
  "dependencies": {
36
- "@ultimat3/core": "25.2.0"
36
+ "@ultimat3/core": "26.1.0"
37
37
  },
38
38
  "peerDependencies": {
39
39
  "@electric-sql/pglite": ">=0.5.0"
package/src/errors.ts CHANGED
@@ -395,7 +395,7 @@ export const branchExists = (branch: string): DbError =>
395
395
  new DbError({
396
396
  code: 'X_BRANCH_EXISTS',
397
397
  cause: `database "${branch}" already exists`,
398
- fix: `x db branch drop ${branch} # then re-create, or pick another name`,
398
+ fix: `x db branch delete ${branch} # then re-create, or pick another name`,
399
399
  meta: { branch },
400
400
  });
401
401