Migrate the database before travis build