Added rating field and migration enviroment