1. Restore the One Identity database from the backup taken before the schema change
OR
2. Repair the inconsistencies using the following Data Consistency Checks:
- Content/DynamicFKInvalid/Okject keys or FK invalid
- Configuration/Dynamic FK
- Content/consistency
- Database Model/Relationships
For more information, please refer to the Operational Guide,
Checking data consistency.
When the repairs are complete, enable constraints again using the following:
EXEC QBM_PTriggerEnable '%'
EXEC QBM_PConstraintEnable '%'