Only run interactive migrations in production mode.