This reverts commit 157d7f1f1de4705daddebb77f21bd7097a74513d since it disables migrations all the time, not just during tests. Backport of 944e66cb1db6614ef0644b9030dd1d75e950767c from master