Add test for migrations on mysql/postgres