From c35b0a38191c224b92ea5d5f5f4503c9ef84762b Mon Sep 17 00:00:00 2001 From: ogous Date: Thu, 23 Jan 2025 18:37:05 +0300 Subject: [PATCH] fix syntax error --- db/migrations/1737541181-update-campaign-for-winner.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/db/migrations/1737541181-update-campaign-for-winner.sql b/db/migrations/1737541181-update-campaign-for-winner.sql index fd9e4b6..369e94a 100644 --- a/db/migrations/1737541181-update-campaign-for-winner.sql +++ b/db/migrations/1737541181-update-campaign-for-winner.sql @@ -5,7 +5,7 @@ RETURNS TRIGGER LANGUAGE plpgsql AS $$ BEGIN UPDATE ninelives_buys_and_sells_1 SET winner = NEW.identifier - WHERE emitter_addr = NEW.emitter_addr + WHERE emitter_addr = NEW.emitter_addr; RETURN NEW; END $$;