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 $$;