-- Align heroes.state CHECK with model.GameState (resting / in_town used by town arrival & admin teleport).
ALTER TABLE heroes DROP CONSTRAINT IF EXISTS heroes_state_check;
ALTER TABLE heroes ADD CONSTRAINT heroes_state_check CHECK (
    state IN ('walking', 'fighting', 'dead', 'resting', 'in_town')
);
