When trying to apply model changes to database (SQLServer 2008), PD does not generate the correct SQL code to drop and create the references in the following situation.
The structure of a parent table changes as such that it has to be dropped and recreated. The PK of the parent table is dropped without dropping the references to the child table(s). The drop fails because of the reference(s).
The workaround is to manually drop all the references preceding the drop of the PK and create the references after the creation of the PK.
Is there any solution available for this problem? The version I'm using is 16.5.0.3982.