Pomelo.EntityFrameworkCore.MySql icon indicating copy to clipboard operation
Pomelo.EntityFrameworkCore.MySql copied to clipboard

Add RenameIndex support for MariaDB versions >= 10.5.2

Open JustusGreiberORGADATA opened this issue 1 year ago • 0 comments

Rename index support was added by the following MariaDB issue: https://jira.mariadb.org/browse/MDEV-7318

As far as I can see it is the exact same syntax, that MySQL supports. This syntax is already supported by this library and tests exist as well.

Changing this makes migrations for MariaDB easier, because you can't run into the "Cannot drop index needed in a foreign key constraint" problem.

Fixes: #1793

JustusGreiberORGADATA avatar Oct 17 '23 07:10 JustusGreiberORGADATA