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.
59 lines
943 B
59 lines
943 B
// Update with your config settings.
|
|
|
|
/**
|
|
* @type { Object.<string, import("knex").Knex.Config> }
|
|
*/
|
|
module.exports = {
|
|
|
|
development: {
|
|
client: 'pg',
|
|
connection: {
|
|
host: 'localhost',
|
|
port: 5432,
|
|
user: 'postgres',
|
|
password: 'mariochatpgpw',
|
|
database: 'postgres',
|
|
},
|
|
pool: {
|
|
min: 2,
|
|
max: 10,
|
|
},
|
|
migrations: {
|
|
tableName: 'knex_migrations',
|
|
},
|
|
},
|
|
|
|
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'
|
|
}
|
|
}
|
|
|
|
};
|