Fix dotenv path in knexfile

This commit is contained in:
Maksim Eltyshev
2019-08-31 04:43:35 +05:00
parent 36fe34e8e1
commit 5c63dc9d30
+3 -1
View File
@@ -1,5 +1,7 @@
const path = require('path');
require('dotenv').config({ require('dotenv').config({
path: '..' path: path.resolve(__dirname, '../.env')
}); });
// Update with your config settings. // Update with your config settings.