I use flywaydb for a production system that has many migration scripts. Every table that has a foreign key to table A has it named 'FK_A'. This works for my postgres database (the constraint name is unique within the table), but not when I create automated tests which use the H2 database.
Is there a way to configure H2 to allow for the same foreign key constraint names, as long as they are specified on different tables?
If not, I will have to recreate the migration scripts, and manually update my production database. If anyone has an easy way to do this, I'm all ears.
Kind regards
Gino