clickhouse-migrations 1.1.2 → 1.1.3
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/lib/migrate.js +4 -4
- package/package.json +9 -9
package/lib/migrate.js
CHANGED
|
@@ -114,7 +114,7 @@ var create_db = function (host, username, password, db_name, db_engine, timeout,
|
|
|
114
114
|
_a.label = 5;
|
|
115
115
|
case 5:
|
|
116
116
|
_a.trys.push([5, 7, , 8]);
|
|
117
|
-
return [4 /*yield*/, client.
|
|
117
|
+
return [4 /*yield*/, client.command({
|
|
118
118
|
query: q,
|
|
119
119
|
clickhouse_settings: {
|
|
120
120
|
wait_end_of_query: 1,
|
|
@@ -144,7 +144,7 @@ var init_migration_table = function (client) { return __awaiter(void 0, void 0,
|
|
|
144
144
|
_a.label = 1;
|
|
145
145
|
case 1:
|
|
146
146
|
_a.trys.push([1, 3, , 4]);
|
|
147
|
-
return [4 /*yield*/, client.
|
|
147
|
+
return [4 /*yield*/, client.command({
|
|
148
148
|
query: q,
|
|
149
149
|
clickhouse_settings: {
|
|
150
150
|
wait_end_of_query: 1,
|
|
@@ -263,7 +263,7 @@ var apply_migrations = function (client, migrations, migrations_home) { return _
|
|
|
263
263
|
_b.label = 8;
|
|
264
264
|
case 8:
|
|
265
265
|
_b.trys.push([8, 10, , 11]);
|
|
266
|
-
return [4 /*yield*/, client.
|
|
266
|
+
return [4 /*yield*/, client.command({
|
|
267
267
|
query: query,
|
|
268
268
|
clickhouse_settings: sets,
|
|
269
269
|
})];
|
|
@@ -339,7 +339,7 @@ var migration = function (migrations_home, host, username, password, db_name, db
|
|
|
339
339
|
exports.migration = migration;
|
|
340
340
|
var migrate = function () {
|
|
341
341
|
var program = new commander_1.Command();
|
|
342
|
-
program.name('clickhouse-migrations').description('ClickHouse migrations.').version('1.1.
|
|
342
|
+
program.name('clickhouse-migrations').description('ClickHouse migrations.').version('1.1.3');
|
|
343
343
|
program
|
|
344
344
|
.command('migrate')
|
|
345
345
|
.description('Apply migrations.')
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "clickhouse-migrations",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.3",
|
|
4
4
|
"description": "ClickHouse Migrations",
|
|
5
5
|
"bin": {
|
|
6
6
|
"clickhouse-migrations": "lib/cli.js"
|
|
@@ -28,23 +28,23 @@
|
|
|
28
28
|
"postversion": "git push && git push --tags"
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@clickhouse/client": "^1.
|
|
32
|
-
"commander": "^14.0.
|
|
31
|
+
"@clickhouse/client": "^1.18.2",
|
|
32
|
+
"commander": "^14.0.3"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
35
|
-
"@eslint/js": "^
|
|
35
|
+
"@eslint/js": "^10.0.1",
|
|
36
36
|
"@types/jest": "^30.0.0",
|
|
37
37
|
"@types/node": "^20.0.0",
|
|
38
|
-
"@typescript-eslint/eslint-plugin": "^8.
|
|
39
|
-
"@typescript-eslint/parser": "^8.
|
|
40
|
-
"eslint": "^
|
|
38
|
+
"@typescript-eslint/eslint-plugin": "^8.57.2",
|
|
39
|
+
"@typescript-eslint/parser": "^8.57.2",
|
|
40
|
+
"eslint": "^10.0.1",
|
|
41
41
|
"eslint-config-prettier": "^10.1.8",
|
|
42
42
|
"eslint-plugin-prettier": "^5.5.5",
|
|
43
|
-
"jest": "^30.
|
|
43
|
+
"jest": "^30.3.0",
|
|
44
44
|
"prettier": "^3.8.1",
|
|
45
45
|
"ts-jest": "^29.4.6",
|
|
46
46
|
"typescript": "^5.9.3",
|
|
47
|
-
"typescript-eslint": "^8.
|
|
47
|
+
"typescript-eslint": "^8.57.2"
|
|
48
48
|
},
|
|
49
49
|
"files": [
|
|
50
50
|
"lib/**/*"
|