Open yoonghm opened 8 years ago
Did you read the two lines above where the knex file is set to use connection: process.env.POSTGRESQL_URL
?
Where? My .knex/knexfile.js
is
// Update with your config settings.
module.exports = {
development: {
client: 'postgresql',
connection: {
database: 'todo',
user: process.env['USER']
},
pool: {
min: 2,
max: 10
},
migrations: {
tableName: 'knex_migrations'
}
}
};
I created another example and use database todo
instead of todos
.
Meteor uses POSTGRESQL_URL to find postgresql database instead of settings in .knex/knexfile.js which is used during migration process only.