fixing migration in orded for tests to work