agrs-sequelize-sdk 1.2.58 → 1.2.59
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.
|
@@ -237,6 +237,12 @@ module.exports = (sequelize, DataTypes) => {
|
|
|
237
237
|
fields: ["process_id", { name: "createdAt", order: "DESC" }],
|
|
238
238
|
comment: "Optimized for DISTINCT ON queries with date ordering",
|
|
239
239
|
},
|
|
240
|
+
{
|
|
241
|
+
name: "idx_campaign_logs_account_process",
|
|
242
|
+
fields: ["account_id", "process_id"],
|
|
243
|
+
where: { account_id: { [Op.ne]: null } },
|
|
244
|
+
comment: "For process-level account filtering"
|
|
245
|
+
},
|
|
240
246
|
{
|
|
241
247
|
fields: ["process_id"],
|
|
242
248
|
},
|