I have migration that transforms complex jsonb object into another jsonb object but with different structure and store it in new column existing_column_name_v2
.
How to test that to make sure I did everything ok?
Here are my steps I am thinking right now:
I am not sure how to execute just migrations I need with Flyway.
To migrate to a specific version, use flyway migrate target=<version>
as described in the Flyway docs.