This functionality moved into the community edition in Flyway 9.21.1 (July'23) so you should be able to follow this tutorial page without any trouble in a recent version
https://documentation.red-gate.com/fd/tutorial-baseline-migrations-277579339.html