remove not_if from app.rb
add env to migration_command
export env in migration_command