Browse Source

(*)email_send_log表model修改

dev
wuqun 2 years ago
parent
commit
8724bcd409
  1. 28
      api/app/lib/models/email_send_log.js

28
api/app/lib/models/email_send_log.js

@ -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",

Loading…
Cancel
Save