Fixing migration issue. No idea how I managed to change environment to environments. everywhere.