Fixed Primary Key issue in the device_power table