Foreign key is not correct after flywaydb migration in postgress and springboot
I have 4 tenants – dev1,dev2,dev3,dev4
and i am using spring boot, postgress database and flywaydb Migration to database version and auto create when new tenant registered.
Base code : https://github.com/AnarSultanov/examples/tree/master/schema-based-multi-tenancy