balena-supervisor/knexfile.js
Pablo Carranza Velez fb9618e25c Fix migrations directory path in knexfile for local development
Signed-off-by: Pablo Carranza Velez <pablo@resin.io>
2018-03-21 18:20:15 -03:00

14 lines
295 B
JavaScript

// Only used to be able to run "knex migrate:make <migration name>" on the development machine.
// Not used in the supervisor.
module.exports = {
client: 'sqlite3',
connection: {
filename: './database.sqlite'
},
useNullAsDefault: true,
migrations: {
directory: './src/migrations'
}
}