Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
27 lines (24 sloc) 586 Bytes
const path = require('path');
const BASE_PATH = path.join(__dirname, 'src', 'server', 'db');
module.exports = {
test: {
client: 'pg',
connection: 'postgres://localhost:5432/koa_api_test',
migrations: {
directory: path.join(BASE_PATH, 'migrations')
},
seeds: {
directory: path.join(BASE_PATH, 'seeds')
}
},
development: {
client: 'pg',
connection: 'postgres://localhost:5432/koa_api',
migrations: {
directory: path.join(BASE_PATH, 'migrations')
},
seeds: {
directory: path.join(BASE_PATH, 'seeds')
}
}
};