Open roman-yagodin opened 3 years ago
Replace PortalID with two fields: ScopeID and ScopeType, remove FK constraint.
ScopeID may be PortalID or PortalGroupID, while ScopeType can be 'P' as in "Portal" or 'G' as in "Group".
Replace PortalID with two fields: ScopeID and ScopeType, remove FK constraint.
ScopeID may be PortalID or PortalGroupID, while ScopeType can be 'P' as in "Portal" or 'G' as in "Group".