remove device_type_id from sensordata table