Run migrations based on environment