|
|
@ -1,4 +1,5 @@ |
|
|
|
/* eslint-disable*/ |
|
|
|
|
|
|
|
'use strict'; |
|
|
|
|
|
|
|
module.exports = dc => { |
|
|
@ -15,15 +16,6 @@ module.exports = dc => { |
|
|
|
autoIncrement: true, |
|
|
|
unique: "email_send_log_id_uindex" |
|
|
|
}, |
|
|
|
toPepUserId: { |
|
|
|
type: DataTypes.INTEGER, |
|
|
|
allowNull: false, |
|
|
|
defaultValue: null, |
|
|
|
comment: null, |
|
|
|
primaryKey: false, |
|
|
|
field: "to_pep_user_id", |
|
|
|
autoIncrement: false |
|
|
|
}, |
|
|
|
time: { |
|
|
|
type: DataTypes.DATE, |
|
|
|
allowNull: false, |
|
|
@ -59,6 +51,24 @@ module.exports = dc => { |
|
|
|
primaryKey: false, |
|
|
|
field: "tactics_params", |
|
|
|
autoIncrement: false |
|
|
|
}, |
|
|
|
projectCorrelationId: { |
|
|
|
type: DataTypes.INTEGER, |
|
|
|
allowNull: false, |
|
|
|
defaultValue: null, |
|
|
|
comment: null, |
|
|
|
primaryKey: false, |
|
|
|
field: "project_correlation_id", |
|
|
|
autoIncrement: false |
|
|
|
}, |
|
|
|
toPepUserIds: { |
|
|
|
type: array, |
|
|
|
allowNull: false, |
|
|
|
defaultValue: null, |
|
|
|
comment: null, |
|
|
|
primaryKey: false, |
|
|
|
field: "to_pep_user_ids", |
|
|
|
autoIncrement: false |
|
|
|
} |
|
|
|
}, { |
|
|
|
tableName: "email_send_log", |
|
|
|