agrs-sequelize-sdk 1.2.60 → 1.2.62
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/Ad.js +5 -0
- package/models/CampaignCreationLog.js +1 -2
- package/package.json +1 -1
package/models/Ad.js
CHANGED
|
@@ -134,6 +134,11 @@ module.exports = (sequelize, DataTypes) => {
|
|
|
134
134
|
{
|
|
135
135
|
fields: ["AdSetID"], // Index on AdSetID for faster join
|
|
136
136
|
},
|
|
137
|
+
{
|
|
138
|
+
name: "idx_ad_policy_agrs_cid_status",
|
|
139
|
+
fields: ["AGRS_CID", "policy_status"],
|
|
140
|
+
comment: "Critical index for policy filtering queries"
|
|
141
|
+
},
|
|
137
142
|
],
|
|
138
143
|
}
|
|
139
144
|
);
|
|
@@ -240,8 +240,7 @@ module.exports = (sequelize, DataTypes) => {
|
|
|
240
240
|
{
|
|
241
241
|
name: "idx_campaign_logs_account_process",
|
|
242
242
|
fields: ["account_id", "process_id"],
|
|
243
|
-
|
|
244
|
-
comment: "For process-level account filtering"
|
|
243
|
+
comment: "For process-level account filtering v2"
|
|
245
244
|
},
|
|
246
245
|
{
|
|
247
246
|
fields: ["process_id"],
|