-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
There are two constraints on the table ouwiki_subwikis 1. combination of wikiid and groupid must be unique 2. combination of wikiid and userid must be unique Example: Two subwikis for different groups resulted in wikiid: 1 groupid: 1 userid: NULL wikiid: 1 groupid: 2 userid: NULL On MSSQL this is prohibited by constraint 2 and the creation of the second subwiki resulted in an exception. To fix this the magic number is used as userid or groupid in case they are NULL.
- Loading branch information
Git on Alpha
committed
Aug 30, 2016
1 parent
08f2911
commit 394b3cc
Showing
2 changed files
with
10 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters