Enable Trusted Constraints
After an upgrade some data contraints can be untrusted. Use Enable Trusted Constraints to set the untrusted constraints to trusted. It can take a long time to complete depending on the amount of data. Constraints that fail the trusted check will remain non-trusted until the data is corrected. The referential integrity check will highlight all of the data that needs to be corrected.