diff options
Diffstat (limited to 'sampleconfig')
| -rw-r--r-- | sampleconfig/knexfile.js | 38 |
1 files changed, 4 insertions, 34 deletions
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' - } - } - }; |
