Activity overview
Latest activity by vinceggwp
It seems I have missed a part of the explanation in the tutorial, https://flywaydb.org/documentation/tutorials/undo, and that there only way one to do it, not two. By providing the SQL file to do an undo for the specific version, does it become undoable as shown in the info table +-----------+---------+---------------------+------+---------------------+---------+----------+
| Category | Version | Description | Type | Installed On | State | Undoable |
+-----------+---------+---------------------+------+---------------------+---------+----------+
| Versioned | 1 | Create person table | SQL | 2017-12-17 19:57:28 | Success | No |
| Versioned | 2 | Add people | SQL | 2017-12-17 20:01:13 | Success | No |
+-----------+---------+---------------------+------+---------------------+---------+----------+ I misunderstood that somehow flyway could automatically do undo for you without you writing out a sql file but that is not the case it seems? / comments
It seems I have missed a part of the explanation in the tutorial, https://flywaydb.org/documentation/tutorials/undo, and that there only way one to do it, not two. By providing the SQL file to do a...
How does Flyway undo behavior work?
I've read the documentation on the Flyway undo, and that there are two ways to go about it. One is to provide the SQL file that does the undo you want and the other is a rollback Flyway does to the...