Make sure database is migrated before travis run.