efcore / EFCore.FSharp

Adds F# design-time support to EF Core
MIT License
234 stars 26 forks source link

Foreign key constraints don't seem to be working #77

Closed teknikal-wizard closed 3 years ago

teknikal-wizard commented 3 years ago

I have tried setting up a simple two way nav property between some tables.

All the tables are created and indexes are added to the foreign key columns, however no foreign key contraint is added.

I can see some stuff to do with foreign keys in the generated migration file, but it isn't getting applied to the database.

simon-reynolds commented 3 years ago

Hi @Ryan-Palmer-CIT This should be resolved now in https://www.nuget.org/packages/EntityFrameworkCore.FSharp/5.0.3-alpha7

teknikal-wizard commented 3 years ago

Awesome stuff, thanks for getting it done so quickly!