Improved encryption implementation

This commit is contained in:
Kgothatso
2019-11-26 22:42:26 +02:00
parent de7bd68872
commit 0a17e78fdc
3 changed files with 36 additions and 7 deletions

View File

@@ -12,6 +12,10 @@ module.exports = function (sequelize, DataTypes, options) {
type: DataTypes.STRING,
allowNull: false
},
iv: {
type: DataTypes.STRING,
allowNull: false
},
name: {
type: DataTypes.STRING,
unique: true