Create new flyway scripts under src/main/migration
and open them in VsCode with one command.
Install Go, then run:
go get github.com/setlog/fly
fly # creates src/main/migration/VXXX.XXX__migration.sql
fly my_change # creates src/main/migration/VXXX.XXX__my_change.sql
The file is then opened in VsCode if you have it installed, i.e. code
is in your PATH
.