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

-- 
You received this message because you are subscribed to the Google Groups "H2 
Database" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/h2-database/9dad431a-4d86-4541-bf55-9180088dae18n%40googlegroups.com.

Reply via email to