agrs-sequelize-sdk 1.4.25 → 1.4.26
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -101,6 +101,13 @@ module.exports = (sequelize, DataTypes) => {
|
|
|
101
101
|
allowNull: true,
|
|
102
102
|
field: "completed_at",
|
|
103
103
|
},
|
|
104
|
+
platform: {
|
|
105
|
+
type: DataTypes.ENUM("fb", "tt", "snp"),
|
|
106
|
+
allowNull: false,
|
|
107
|
+
defaultValue: "fb",
|
|
108
|
+
field: "platform",
|
|
109
|
+
comment: "Ad platform: fb|tt|snp",
|
|
110
|
+
},
|
|
104
111
|
},
|
|
105
112
|
{
|
|
106
113
|
tableName: "ai_creation_retry_queue",
|
package/models/AutomationRule.js
CHANGED
|
@@ -139,6 +139,12 @@ module.exports = (sequelize, DataTypes) => {
|
|
|
139
139
|
defaultValue: [],
|
|
140
140
|
comment: "Array of media buyer codes that this rule can be assigned to",
|
|
141
141
|
},
|
|
142
|
+
platform: {
|
|
143
|
+
type: DataTypes.ENUM("fb", "tt", "snp"),
|
|
144
|
+
allowNull: false,
|
|
145
|
+
defaultValue: "fb",
|
|
146
|
+
comment: "Ad platform: fb|tt|snp",
|
|
147
|
+
},
|
|
142
148
|
},
|
|
143
149
|
{
|
|
144
150
|
tableName: "AutomationRules", // New table name
|