From 8724bcd4099ee5dc057f1e0e8ff0d147c6206eb5 Mon Sep 17 00:00:00 2001 From: wuqun Date: Thu, 27 Oct 2022 13:51:05 +0800 Subject: [PATCH] =?UTF-8?q?(*)email=5Fsend=5Flog=E8=A1=A8model=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/app/lib/models/email_send_log.js | 28 +++++++++++++++++++--------- 1 file changed, 19 insertions(+), 9 deletions(-) diff --git a/api/app/lib/models/email_send_log.js b/api/app/lib/models/email_send_log.js index bab7a0b..667f847 100644 --- a/api/app/lib/models/email_send_log.js +++ b/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",