ALTER TABLE signals.feature
    ADD COLUMN orientation smallint,
    ADD CONSTRAINT feature_orientation_check
        CHECK (orientation IS NULL OR orientation BETWEEN 1 AND 8);

COMMENT ON COLUMN signals.feature.orientation IS
    'https://www.impulseadventure.com/photo/images/orient_flag.gif';
