New dev commands and updates

This commit is contained in:
Jori Lallo
2017-11-10 15:24:29 -08:00
parent a6f8b0b2c9
commit c33c7f04d8
10 changed files with 148 additions and 12 deletions

View File

@ -3,7 +3,7 @@ import Sequelize from 'sequelize';
import EncryptedField from 'sequelize-encrypted';
import debug from 'debug';
const secretKey = process.env.SEQUELIZE_SECRET;
const secretKey = process.env.SECRET_KEY;
export const encryptedFields = EncryptedField(Sequelize, secretKey);