Hbm2ddl.auto=update recreating existing indexes after drop

Hi, any news on this?

Another link: https://stackoverflow.com/questions/60138525/hibernate-mysql57dialect-why-is-it-trying-to-drop-indexes-on-update

Of course using hibernate.hbm2ddl.auto=update is not a good idea in production, but I’m creating (flyway-) update-scripts with the help of org.hibernate.tool.hbm2ddl.SchemaUpdate and see the same drop-index-create-index-stuff, although apparently only for unique indexes.

Maybe @vlad has an explanation for this?

Was definitely not the case in Hibernate 4.3.11 (we are in the process of upgrading)