From 6a9d6526a0fc8a28a2b4814d933087a66f4d1751 Mon Sep 17 00:00:00 2001 From: Rupenieks Date: Mon, 4 May 2020 11:18:28 +0200 Subject: [PATCH] Ormconfig mariadb addition, ts-node to dev dependency --- packages/cli/migrations/ormconfig.ts | 6 +++--- packages/cli/package.json | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/packages/cli/migrations/ormconfig.ts b/packages/cli/migrations/ormconfig.ts index ce88a16eae..2a0cda0d9c 100644 --- a/packages/cli/migrations/ormconfig.ts +++ b/packages/cli/migrations/ormconfig.ts @@ -1,4 +1,4 @@ -import {MongoDb, SQLite, MySQLDb, PostgresDb} from './src/databases/index'; +import {MongoDb, SQLite, MySQLDb, PostgresDb} from '../src/databases/index'; module.exports = [ { @@ -84,8 +84,8 @@ module.exports = [ } }, { - "name": "mysql", - "type": "mysql", + "name": "mariadb", + "type": "mariadb", "database": "n8n", "username": "root", "password": "password", diff --git a/packages/cli/package.json b/packages/cli/package.json index 31e47faed0..2cb67af8e0 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -72,7 +72,8 @@ "run-script-os": "^1.0.7", "ts-jest": "^24.0.2", "tslint": "^5.17.0", - "typescript": "~3.7.4" + "typescript": "~3.7.4", + "ts-node": "^8.9.1" }, "dependencies": { "@oclif/command": "^1.5.18", @@ -105,7 +106,6 @@ "request-promise-native": "^1.0.7", "sqlite3": "^4.2.0", "sse-channel": "^3.1.1", - "ts-node": "^8.9.1", "typeorm": "^0.2.24" }, "jest": {