1
0
Fork 0
mirror of https://github.com/plankanban/planka.git synced 2025-07-24 07:39:44 +02:00
planka/server/db/knexfile.js
2019-10-01 04:18:33 +05:00

15 lines
329 B
JavaScript
Executable file

const path = require('path');
const _ = require('lodash');
require('dotenv').config({
path: path.resolve(__dirname, '../.env')
});
module.exports = {
client: 'pg',
connection: process.env.DATABASE_URL,
migrations: {
tableName: 'migration'
},
wrapIdentifier: (value, origImpl) => origImpl(_.snakeCase(value))
};