From 918813a6e49f9d05828f6fb205614f9d288269e1 Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Wed, 21 Sep 2022 19:56:48 -0700 Subject: rm knexfile --- db/index.js | 1 - sampleconfig/knexfile.js | 17 ----------------- 2 files changed, 18 deletions(-) delete mode 100644 sampleconfig/knexfile.js diff --git a/db/index.js b/db/index.js index 3d5aab36..8c94a4d3 100644 --- a/db/index.js +++ b/db/index.js @@ -1,7 +1,6 @@ import Sequelize from "@sequelize/core"; import db from "$db/db"; -import dbOptions from "$config/knexfile"; db.authenticate().catch(err => { console.debug("Error connecting to database: " + err.message); diff --git a/sampleconfig/knexfile.js b/sampleconfig/knexfile.js deleted file mode 100644 index dafb0d1c..00000000 --- a/sampleconfig/knexfile.js +++ /dev/null @@ -1,17 +0,0 @@ -// Update with your config settings. - -export default { - development: { - client: "mysql2", - connection: { - host: "maria", - database: "coinos", - user: "root", - password: "password" - }, - migrations: { - tableName: "migrations", - directory: "migrations" - } - } -}; -- cgit v1.2.3