ALTER TABLE normalized_events ON CLUSTER '{cluster}'
    MODIFY COLUMN event_name
        Enum8(
            'TECHNICAL_PROCESSED_TO' = 9,
            'BILLBOARD_SHOW' = 1,
            'BILLBOARD_TAP' = 2,
            'ACTION_CALL' = 3,
            'ACTION_MAKE_ROUTE' = 4,
            'ACTION_SEARCH' = 5,
            'ACTION_OPEN_SITE' = 6,
            'ACTION_OPEN_APP' = 7,
            'ACTION_SAVE_OFFER' = 8
        );

ALTER TABLE processed_events ON CLUSTER '{cluster}'
    MODIFY COLUMN event_name
        Enum8(
            'TECHNICAL_PROCESSED_TO' = 9,
            'BILLBOARD_SHOW' = 1,
            'BILLBOARD_TAP' = 2,
            'ACTION_CALL' = 3,
            'ACTION_MAKE_ROUTE' = 4,
            'ACTION_SEARCH' = 5,
            'ACTION_OPEN_SITE' = 6,
            'ACTION_OPEN_APP' = 7,
            'ACTION_SAVE_OFFER' = 8
        );


ALTER TABLE normalized_events ON CLUSTER '{cluster}'
    MODIFY COLUMN application
        Enum8('NAVIGATOR' = 1, 'MOBILE_MAPS' = 2, 'METRO' = 3, 'BEEKEEPER' = 4);

ALTER TABLE processed_events ON CLUSTER '{cluster}'
    MODIFY COLUMN application
        Enum8('NAVIGATOR' = 1, 'MOBILE_MAPS' = 2, 'METRO' = 3, 'BEEKEEPER' = 4);


ALTER TABLE normalized_events ON CLUSTER '{cluster}'
    MODIFY COLUMN app_platform
        Enum8('ANDROID' = 1, 'IOS' = 2, 'LINUX' = 3);

ALTER TABLE processed_events ON CLUSTER '{cluster}'
    MODIFY COLUMN app_platform
        Enum8('ANDROID' = 1, 'IOS' = 2, 'LINUX' = 3);
