Use the exit status for tests
Move migrations under a flag