Fix dotenv path in knexfile

pull/5/head
Maksim Eltyshev 6 years ago
parent 5ffef61fe7
commit c7ffc0652a

@ -1,5 +1,7 @@
const path = require('path');
require('dotenv').config({
path: '..'
path: path.resolve(__dirname, '../.env')
});
// Update with your config settings.

Loading…
Cancel
Save