You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
46 lines
704 B
46 lines
704 B
2 years ago
|
// Update with your config settings.
|
||
|
|
||
|
module.exports = {
|
||
|
|
||
|
development: {
|
||
|
client: 'sqlite3',
|
||
|
useNullAsDefault: true,
|
||
|
connection: {
|
||
|
filename: './dev.sqlite3'
|
||
|
}
|
||
|
},
|
||
|
|
||
|
staging: {
|
||
|
client: 'postgresql',
|
||
|
connection: {
|
||
|
database: 'my_db',
|
||
|
user: 'username',
|
||
|
password: 'password'
|
||
|
},
|
||
|
pool: {
|
||
|
min: 2,
|
||
|
max: 10
|
||
|
},
|
||
|
migrations: {
|
||
|
tableName: 'knex_migrations'
|
||
|
}
|
||
|
},
|
||
|
|
||
|
production: {
|
||
|
client: 'postgresql',
|
||
|
connection: {
|
||
|
database: 'my_db',
|
||
|
user: 'username',
|
||
|
password: 'password'
|
||
|
},
|
||
|
pool: {
|
||
|
min: 2,
|
||
|
max: 10
|
||
|
},
|
||
|
migrations: {
|
||
|
tableName: 'knex_migrations'
|
||
|
}
|
||
|
}
|
||
|
|
||
|
}
|