Rollback the last applied migration using rockhopper.
Steps
- If
$ARGUMENTSis provided, use it as the config file path. Otherwise, find allrockhopper_*.yamlconfig files and ask the user which one to use. - First show current status so the user sees what will be rolled back:
rockhopper --config <config_file> status - Confirm with the user before proceeding.
- Run:
rockhopper --config <config_file> down - Report the result.