Automatically generate SQL migration for span

Is it possible that new Flyway migrations will be generated by automatically generating a JPA / Hibernate scheme when a new model / field, etc. added via java code.

It would be useful to capture the automatically generated SQL and save it directly in the new Flyway migration, for viewing / editing / fixing in the project repository.

Thank you in advance for any help or education you can offer.

+4
source share

All Articles