drop function insert_or_update_device(device_id, user_id, text, text, device_push_info,
        device_command[], jsonb, out device);
alter function insert_or_update_device_1(device_id, user_id, text, text, device_push_info,
        device_command[], jsonb, out device) rename to insert_or_update_device;
