Merge branch 'pull/724' into development
This commit is contained in:
commit
52c638b0b3
1 changed files with 1 additions and 0 deletions
|
@ -52,6 +52,7 @@ async function run() {
|
||||||
.where(function () {
|
.where(function () {
|
||||||
addSegmentQuery(this);
|
addSegmentQuery(this);
|
||||||
})
|
})
|
||||||
|
.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
|
.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');
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue