ALTER TABLE signals.walk_object
    DROP CONSTRAINT IF EXISTS walk_object_status_check;

ALTER TABLE signals.walk_object
    ADD CHECK (status = ANY (ARRAY['pending', 'discarded', 'on_moderation', 'published', 'failed']));

CREATE INDEX ON signals.walk_object
    USING btree(status);
