dbmate 2.26.0 → 2.27.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 +9 -0
- package/package.json +8 -8
package/README.md
CHANGED
|
@@ -244,6 +244,15 @@ To specify an absolute path, add a forward slash to the path. The following will
|
|
|
244
244
|
DATABASE_URL="sqlite:/tmp/database.sqlite3"
|
|
245
245
|
```
|
|
246
246
|
|
|
247
|
+
Note that for some common [settings](https://sqlite.org/pragma.html) like `journal_mode` to improve performance, transactions need to be disabled for that migration file, e.g.
|
|
248
|
+
|
|
249
|
+
```sql
|
|
250
|
+
-- migrate:up transaction:false
|
|
251
|
+
PRAGMA journal_mode = WAL;
|
|
252
|
+
```
|
|
253
|
+
|
|
254
|
+
Otherwise the migration will fail with "Error: cannot change into wal mode from within a transaction".
|
|
255
|
+
|
|
247
256
|
#### ClickHouse
|
|
248
257
|
|
|
249
258
|
```sh
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dbmate",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.27.0",
|
|
4
4
|
"description": "A lightweight, framework-agnostic database migration tool",
|
|
5
5
|
"repository": "https://github.com/amacneil/dbmate",
|
|
6
6
|
"homepage": "https://github.com/amacneil/dbmate#readme",
|
|
@@ -24,12 +24,12 @@
|
|
|
24
24
|
"build": "tsc --build"
|
|
25
25
|
},
|
|
26
26
|
"optionalDependencies": {
|
|
27
|
-
"@dbmate/linux-ia32": "2.
|
|
28
|
-
"@dbmate/linux-x64": "2.
|
|
29
|
-
"@dbmate/linux-arm": "2.
|
|
30
|
-
"@dbmate/linux-arm64": "2.
|
|
31
|
-
"@dbmate/darwin-x64": "2.
|
|
32
|
-
"@dbmate/darwin-arm64": "2.
|
|
33
|
-
"@dbmate/win32-x64": "2.
|
|
27
|
+
"@dbmate/linux-ia32": "2.27.0",
|
|
28
|
+
"@dbmate/linux-x64": "2.27.0",
|
|
29
|
+
"@dbmate/linux-arm": "2.27.0",
|
|
30
|
+
"@dbmate/linux-arm64": "2.27.0",
|
|
31
|
+
"@dbmate/darwin-x64": "2.27.0",
|
|
32
|
+
"@dbmate/darwin-arm64": "2.27.0",
|
|
33
|
+
"@dbmate/win32-x64": "2.27.0"
|
|
34
34
|
}
|
|
35
35
|
}
|