add full-screen gift effects

This commit is contained in:
2026-07-19 00:39:56 -07:00
parent f79852d8e6
commit c4eca7b8bf
23 changed files with 1666 additions and 33 deletions
@@ -0,0 +1,7 @@
-- Every account owns exactly one built-in full-screen gift-effect component.
-- Existing accounts are backfilled from the validated Rust defaults during
-- startup; the partial index keeps concurrent starts idempotent.
CREATE UNIQUE INDEX IF NOT EXISTS component_instances_single_gift_effect
ON component_instances(owner_user_id, kind)
WHERE kind = 'gift_effect';