From baa163ec0433dd71ffee19ffe247502165c8be79 Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Tue, 13 Jul 2021 23:45:19 -0700 Subject: update sample db credentials --- sampleconfig/knexfile.js | 38 ++++---------------------------------- 1 file changed, 4 insertions(+), 34 deletions(-) (limited to 'sampleconfig') diff --git a/sampleconfig/knexfile.js b/sampleconfig/knexfile.js index 4d69d13a..4df78b84 100644 --- a/sampleconfig/knexfile.js +++ b/sampleconfig/knexfile.js @@ -1,47 +1,17 @@ // Update with your config settings. module.exports = { - development: { client: 'mysql2', connection: { host: 'mariadb', database: 'coinos', - user: 'tester', - password: 'pass' - } - }, - - staging: { - client: 'mysql2', - connection: { - database: 'coinos_stage', - user: 'staging_user', - password: 'pass' - }, - pool: { - min: 2, - max: 10 + user: 'root', + password: 'password' }, migrations: { - tableName: 'knex_migrations' + tableName: 'migrations', + directory: 'migrations' } }, - - production: { - client: 'mysql2', - connection: { - database: 'coinos', - user: 'webuser', - password: 'pass' - }, - pool: { - min: 2, - max: 10 - }, - migrations: { - tableName: 'knex_migrations' - } - } - }; -- cgit v1.2.3