Fixing migration problem that was causing jenkins to fail when deploying