Fix dotenv path in knexfile

This commit is contained in:
Maksim Eltyshev
2019-08-31 04:43:35 +05:00
parent 5ffef61fe7
commit c7ffc0652a

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.