I have an MVC application in DDD that uses SQLServer.
I'm looking to take the database to PostGresSQL, but an FK duplicity error occurs.
For example, in the SqlServer pattern would be generated:
FK_dbo.Adicao_dbo.OrgaoEmissorAtoLegal_ExTarifOrgEmissorAtoLegaLegalId
FK_dbo.Adicao_dbo.OrgaoEmissorAtoLegal_ExTarifOrgEmissorAtoLegalId
But in PostGresSQL when generating FK it tends to do:
FK_dbo.Adicao_dbo.OrgaoEmissorAtoLegal_ExTarifOrgEmissorAtoLega -- ambas iguais
Is it possible to apply another rule in FK generation automatically?
Has anyone done this yet?