diff options
| author | Adam Soltys <[email protected]> | 2021-07-13 23:45:19 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2021-07-13 23:45:19 -0700 |
| commit | baa163ec0433dd71ffee19ffe247502165c8be79 (patch) | |
| tree | ce96c03c017eaae6efa4c30a317cdd38ea5875db /sampleconfig | |
| parent | 46f8f07e00103445e8fbc74690bf1613290bebf6 (diff) | |
| download | coinos-server-baa163ec0433dd71ffee19ffe247502165c8be79.tar.gz coinos-server-baa163ec0433dd71ffee19ffe247502165c8be79.zip | |
update sample db credentials
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' - } - } - }; |
