Fix for #665 and additional fix for #663.

If your segemnts are broken or Mailtrain complains about missing 20190726150000_shorten_field_column_names.js, run the following in `server/setup/knex/fixes`:

```NODE_ENV=production node fix-20190726150000_shorten_field_column_names.js```
This commit is contained in:
Tomas Bures 2019-08-12 09:26:49 +02:00
parent bb237b3da4
commit ae5faadffa
3 changed files with 72 additions and 2 deletions

View file

@ -4,6 +4,6 @@ if (!process.env.NODE_CONFIG_DIR) {
process.env.NODE_CONFIG_DIR = __dirname + '/../../config';
}
const config = require('server/setup/knex/config');
const config = require('../../lib/config');
module.exports = config;