mirror of
https://github.com/jcreek/CosmicClash.git
synced 2026-09-11 08:23:45 +00:00
fix(multiplayer): validate legacy connection leases
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
-- Migration 0011 used NOT VALID so the new check protected concurrent writes
|
||||
-- while its backfill completed. Validate separately so an upgraded database
|
||||
-- cannot silently retain an impossible pre-lease connection state.
|
||||
ALTER TABLE match_participants
|
||||
VALIDATE CONSTRAINT match_participants_connection_lease;
|
||||
Reference in New Issue
Block a user