Merged PR #724
This commit is contained in:
parent
52c638b0b3
commit
6d00ea1e69
1 changed files with 1 additions and 1 deletions
|
@ -52,8 +52,8 @@ async function run() {
|
||||||
.where(function () {
|
.where(function () {
|
||||||
addSegmentQuery(this);
|
addSegmentQuery(this);
|
||||||
})
|
})
|
||||||
|
.whereNull('related_trigger_messages.id') // This means only those campaigns where one of their triggers has not fired yet somewhen in the past
|
||||||
.where(subsTable + '.status', SubscriptionStatus.SUBSCRIBED)
|
.where(subsTable + '.status', SubscriptionStatus.SUBSCRIBED)
|
||||||
.whereNull('related_trigger_messages.id') // This means only those where the trigger has not fired yet somewhen in the past
|
|
||||||
.select(subsTable + '.id');
|
.select(subsTable + '.id');
|
||||||
|
|
||||||
let column;
|
let column;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue