mirror of
https://github.com/block/buzz.git
synced 2026-10-27 12:40:30 +00:00
fix: harden emoji reactions + feat: configurable ACP event subscriptions (#59)
This commit is contained in:
4
migrations/20260315000002_reaction_event_id_unique.sql
Normal file
4
migrations/20260315000002_reaction_event_id_unique.sql
Normal file
@@ -0,0 +1,4 @@
|
||||
-- Upgrade the reaction_event_id index from non-unique to unique.
|
||||
-- Prevents duplicate kind:7 events from creating orphaned reaction rows.
|
||||
DROP INDEX idx_reactions_source_event ON reactions;
|
||||
CREATE UNIQUE INDEX idx_reactions_source_event ON reactions (reaction_event_id);
|
||||
Reference in New Issue
Block a user