From d1d00d158d0ae9d4fa0480089e54305f20682e90 Mon Sep 17 00:00:00 2001 From: Andre Medeiros Date: Wed, 13 Jul 2022 11:31:31 -0400 Subject: [PATCH] fix field --- internal/cmd/scheduler.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/cmd/scheduler.go b/internal/cmd/scheduler.go index 5e202e9..7860d29 100644 --- a/internal/cmd/scheduler.go +++ b/internal/cmd/scheduler.go @@ -416,7 +416,7 @@ func enqueueAccounts(ctx context.Context, logger *zap.Logger, statsd *statsd.Cli FOR UPDATE SKIP LOCKED LIMIT %d ) - RETURNING accounts.account_id`, maxNotificationChecks) + RETURNING accounts.reddit_account_id`, maxNotificationChecks) rows, err := tx.Query(ctx, stmt, now, next) if err != nil { return err