New migration scripts for device and machine stats tables.