dbmate 2.33.0 → 2.34.1
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 +6 -1
- package/package.json +8 -8
package/README.md
CHANGED
|
@@ -20,6 +20,7 @@ For a comparison between dbmate and other popular database schema migration tool
|
|
|
20
20
|
- [Connecting to the Database](#connecting-to-the-database)
|
|
21
21
|
- [PostgreSQL](#postgresql)
|
|
22
22
|
- [MySQL](#mysql)
|
|
23
|
+
- [MariaDB](#mariadb)
|
|
23
24
|
- [SQLite](#sqlite)
|
|
24
25
|
- [ClickHouse](#clickhouse)
|
|
25
26
|
- [BigQuery](#bigquery)
|
|
@@ -42,7 +43,7 @@ For a comparison between dbmate and other popular database schema migration tool
|
|
|
42
43
|
|
|
43
44
|
## Features
|
|
44
45
|
|
|
45
|
-
- Supports MySQL, PostgreSQL, SQLite, and ClickHouse
|
|
46
|
+
- Supports MySQL, MariaDB, PostgreSQL, SQLite, and ClickHouse
|
|
46
47
|
- Uses plain SQL for writing schema migrations
|
|
47
48
|
- Migrations are timestamp-versioned, to avoid version number conflicts with multiple developers
|
|
48
49
|
- Migrations are run atomically inside a transaction
|
|
@@ -244,6 +245,10 @@ A `socket` parameter can be specified to connect through a unix socket:
|
|
|
244
245
|
DATABASE_URL="mysql://username:password@/database_name?socket=/var/run/mysqld/mysqld.sock"
|
|
245
246
|
```
|
|
246
247
|
|
|
248
|
+
#### MariaDB
|
|
249
|
+
|
|
250
|
+
MariaDB is supported using the same `mysql://` connection URLs as MySQL. The Docker image includes `mariadb-client` for schema dumps; `mariadb-dump` is used when available.
|
|
251
|
+
|
|
247
252
|
#### SQLite
|
|
248
253
|
|
|
249
254
|
SQLite databases are stored on the filesystem, so you do not need to specify a host. By default, files are relative to the current directory. For example, the following will create a database at `./db/database.sqlite3`:
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dbmate",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.34.1",
|
|
4
4
|
"description": "A lightweight, framework-agnostic database migration tool",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -30,12 +30,12 @@
|
|
|
30
30
|
"build": "tsc --build"
|
|
31
31
|
},
|
|
32
32
|
"optionalDependencies": {
|
|
33
|
-
"@dbmate/linux-ia32": "2.
|
|
34
|
-
"@dbmate/linux-x64": "2.
|
|
35
|
-
"@dbmate/linux-arm": "2.
|
|
36
|
-
"@dbmate/linux-arm64": "2.
|
|
37
|
-
"@dbmate/darwin-x64": "2.
|
|
38
|
-
"@dbmate/darwin-arm64": "2.
|
|
39
|
-
"@dbmate/win32-x64": "2.
|
|
33
|
+
"@dbmate/linux-ia32": "2.34.1",
|
|
34
|
+
"@dbmate/linux-x64": "2.34.1",
|
|
35
|
+
"@dbmate/linux-arm": "2.34.1",
|
|
36
|
+
"@dbmate/linux-arm64": "2.34.1",
|
|
37
|
+
"@dbmate/darwin-x64": "2.34.1",
|
|
38
|
+
"@dbmate/darwin-arm64": "2.34.1",
|
|
39
|
+
"@dbmate/win32-x64": "2.34.1"
|
|
40
40
|
}
|
|
41
41
|
}
|