Direct answer
No confirmed behavior. The documentation gaps and log format you described do not establish that the NPSs migration tool executes all DDL inside one transaction, that its "rollback" option undoes a failed migration automatically, or that a CLI/API flag controls rollback. Until the tool's source or configuration is inspected, assume rollback is not automatic.
Confirmed facts from your case
- Migration log lists individual DDL entries with no visible BEGIN/COMMIT blocks.
- Documentation mentions a "rollback" option but provides no example scripts or API reference.
- Current release notes describe no dedicated rollback wizard.
Likely explanation (generic pattern, not confirmed for NPSs)
Many migration runners apply each DDL statement in autocommit mode unless the tool explicitly opens a transaction around the whole script. If the log lacks transaction markers, statements may commit individually. Whether DDL can be rolled back at all also depends on the database: PostgreSQL supports transactional DDL for many operations, while MySQL and MariaDB often issue an implicit commit before or after DDL. These are general database behaviors; they do not prove how the NPSs tool works.
Steps for this case
- Identify the exact migration tool name and version. This detail changes the recommendation because rollback behavior is tool-specific.
- Search the tool's configuration and source for explicit transaction control around DDL statements.
- Run a controlled failure test on a staging database: apply a migration that fails after at least one DDL step, then inspect whether earlier changes remain.
- If automatic rollback is absent, create explicit down migrations or wrap supported DDL in transactions manually, and test the rollback path before production use.
Safe verification command example
grep -nE "BEGIN|COMMIT|ROLLBACK|autocommit|transaction" ./migration-tool-config.yaml 2>/dev/null || true
Run this against a local copy of the tool configuration only. It is read-only and does not modify any database.
Assumptions and uncertainty
- The migration log is assumed to accurately represent how the tool executes DDL.
- It is uncertain whether the "rollback" option triggers an automatic undo, a manual down migration, or nothing without further configuration.
- No NPSs-specific version or API behavior is confirmed; treat all transactional claims as unverified until the staging test is performed.
Editorial note: this draft requires human review before publication because NPSs-specific rollback behavior is not verified by the supplied research.