agrs-sequelize-sdk 1.2.64 → 1.2.66
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.
- package/models/AdSet.js +5 -0
- package/models/FrontStoryChannel.js +8 -8
- package/package.json +1 -1
package/models/AdSet.js
CHANGED
|
@@ -226,6 +226,11 @@ module.exports = (sequelize, DataTypes) => {
|
|
|
226
226
|
type: DataTypes.INTEGER,
|
|
227
227
|
allowNull: true,
|
|
228
228
|
},
|
|
229
|
+
target_roas: {
|
|
230
|
+
type: DataTypes.FLOAT,
|
|
231
|
+
allowNull: true,
|
|
232
|
+
comment: 'Target ROAS as decimal (0.9 = 90%)',
|
|
233
|
+
},
|
|
229
234
|
waiting: {
|
|
230
235
|
type: DataTypes.BOOLEAN,
|
|
231
236
|
defaultValue: false,
|
|
@@ -28,14 +28,14 @@ module.exports = (sequelize, DataTypes) => {
|
|
|
28
28
|
{
|
|
29
29
|
tableName: "front_story_channels",
|
|
30
30
|
timestamps: true,
|
|
31
|
-
indexes: [
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
],
|
|
31
|
+
// indexes: [
|
|
32
|
+
// // Add a composite unique index on channelId and styleId if needed
|
|
33
|
+
// {
|
|
34
|
+
// unique: true,
|
|
35
|
+
// fields: ["channelId", "styleId"],
|
|
36
|
+
// name: "unique_front_story_channel_style",
|
|
37
|
+
// },
|
|
38
|
+
// ],
|
|
39
39
|
}
|
|
40
40
|
);
|
|
41
41
|
|