Merge branch 'pull/724' into development

This commit is contained in:
Tomas Bures 2019-12-07 11:48:57 +01:00
commit 52c638b0b3

View file

@ -52,6 +52,7 @@ async function run() {
.where(function () {
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
.select(subsTable + '.id');