nais postgres migrate rollback
nais postgres migrate rollback APP_NAME TARGET_SQL_INSTANCE_NAME [flags]
Rollback will roll back the migration, and restore the application to use the original instance.
Inherited options
--config- Specify the
PATHto the configuration file. --dry-run- Perform a dry run of the migration without applying changes.
-e,--environment- Specify the
ENVIRONMENTto use for this command. Overrides the default environment from configuration. --no-colors- Disable colors in the output.
-r,--reason- Justification for accessing the database. Required for audit logging.
-t,--team- Specify the
TEAMto use for this command. Overrides the default team from configuration. -v,--verbose- Set verbosity level. Use -v for verbose, -vv for debug, -vvv for trace.