Comparing version 2.21.0 to 2.22.0
{ | ||
"name": "dbmate", | ||
"version": "2.21.0", | ||
"version": "2.22.0", | ||
"description": "A lightweight, framework-agnostic database migration tool", | ||
@@ -27,10 +27,10 @@ "repository": "https://github.com/amacneil/dbmate", | ||
"optionalDependencies": { | ||
"@dbmate/linux-ia32": "2.21.0", | ||
"@dbmate/linux-x64": "2.21.0", | ||
"@dbmate/linux-arm": "2.21.0", | ||
"@dbmate/linux-arm64": "2.21.0", | ||
"@dbmate/darwin-x64": "2.21.0", | ||
"@dbmate/darwin-arm64": "2.21.0", | ||
"@dbmate/win32-x64": "2.21.0" | ||
"@dbmate/linux-ia32": "2.22.0", | ||
"@dbmate/linux-x64": "2.22.0", | ||
"@dbmate/linux-arm": "2.22.0", | ||
"@dbmate/linux-arm64": "2.22.0", | ||
"@dbmate/darwin-x64": "2.22.0", | ||
"@dbmate/darwin-arm64": "2.22.0", | ||
"@dbmate/win32-x64": "2.22.0" | ||
} | ||
} |
@@ -63,4 +63,4 @@ # Dbmate | ||
```sh | ||
$ npm install --save-dev dbmate | ||
$ npx dbmate --help | ||
npm install --save-dev dbmate | ||
npx dbmate --help | ||
``` | ||
@@ -73,3 +73,4 @@ | ||
```sh | ||
$ brew install dbmate | ||
brew install dbmate | ||
dbmate --help | ||
``` | ||
@@ -82,4 +83,5 @@ | ||
```sh | ||
$ sudo curl -fsSL -o /usr/local/bin/dbmate https://github.com/amacneil/dbmate/releases/latest/download/dbmate-linux-amd64 | ||
$ sudo chmod +x /usr/local/bin/dbmate | ||
sudo curl -fsSL -o /usr/local/bin/dbmate https://github.com/amacneil/dbmate/releases/latest/download/dbmate-linux-amd64 | ||
sudo chmod +x /usr/local/bin/dbmate | ||
/usr/local/bin/dbmate --help | ||
``` | ||
@@ -92,3 +94,4 @@ | ||
```pwsh | ||
$ scoop install dbmate | ||
scoop install dbmate | ||
dbmate --help | ||
``` | ||
@@ -103,3 +106,3 @@ | ||
```sh | ||
$ docker run --rm -it --network=host ghcr.io/amacneil/dbmate --help | ||
docker run --rm -it --network=host ghcr.io/amacneil/dbmate --help | ||
``` | ||
@@ -110,3 +113,3 @@ | ||
```sh | ||
$ docker run --rm -it --network=host -v "$(pwd)/db:/db" ghcr.io/amacneil/dbmate new create_users_table | ||
docker run --rm -it --network=host -v "$(pwd)/db:/db" ghcr.io/amacneil/dbmate new create_users_table | ||
``` | ||
@@ -410,3 +413,3 @@ | ||
`transaction` is useful if you need to run some SQL which cannot be executed from within a transaction. For example, in Postgres, you would need to disable transactions for migrations that alter an enum type to add a value: | ||
`transaction` is useful if you do not want to run SQL inside a transaction: | ||
@@ -413,0 +416,0 @@ ```sql |
626
36966