mirror of
https://github.com/knex/knex.git
synced 2025-10-04 12:37:29 +00:00
44 lines
666 B
Plaintext
44 lines
666 B
Plaintext
// Update with your config settings.
|
|
|
|
module.exports = {
|
|
|
|
development: {
|
|
client: 'sqlite3',
|
|
connection: {
|
|
filename: './dev.sqlite3'
|
|
}
|
|
},
|
|
|
|
staging: {
|
|
client: 'postgresql',
|
|
connection: {
|
|
database: 'my_db',
|
|
user: 'username',
|
|
password: 'password'
|
|
},
|
|
pool: {
|
|
min: 2,
|
|
max: 10
|
|
},
|
|
migrations: {
|
|
tableName: 'postgresql'
|
|
}
|
|
},
|
|
|
|
production: {
|
|
client: 'postgresql',
|
|
connection: {
|
|
database: 'my_db',
|
|
user: 'username',
|
|
password: 'password'
|
|
},
|
|
pool: {
|
|
min: 2,
|
|
max: 10
|
|
},
|
|
migrations: {
|
|
tableName: 'postgresql'
|
|
}
|
|
}
|
|
|
|
}; |