@ultimat3/db 25.2.0 → 26.0.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 +2 -2
- package/package.json +2 -2
- package/src/errors.ts +1 -1
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
|
|
577
|
+
x db branch list --json
|
|
578
578
|
x db branch create feature_x
|
|
579
|
-
x db branch
|
|
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": "
|
|
3
|
+
"version": "26.0.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": "
|
|
36
|
+
"@ultimat3/core": "26.0.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
|
|
398
|
+
fix: `x db branch delete ${branch} # then re-create, or pick another name`,
|
|
399
399
|
meta: { branch },
|
|
400
400
|
});
|
|
401
401
|
|