-
Notifications
You must be signed in to change notification settings - Fork 188
[user_accounts] Use userID to update examiners table #7462
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
driusan
merged 13 commits into
aces:23.0-release
from
CamilleBeau:2021_06_07_user_accounts_examiner_ID
Oct 6, 2021
Merged
Changes from all commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
e889678
[user_accounts] Use userID to update examiners table
CamilleBeau 4de0dbe
Starting to fix examiner module
CamilleBeau 7f13d66
Need userID for examiner creation
CamilleBeau 94e2b16
Fix instrument library & examiner smodule
CamilleBeau d5a97a4
Get rid of email filter
CamilleBeau 267b8f7
Add cleanup script
CamilleBeau 36addd7
phpcs
CamilleBeau e215773
Fix script
CamilleBeau 2eae467
Add to changelog
CamilleBeau ae49cf9
typo
CamilleBeau 2349752
typo 2
CamilleBeau 537d440
Change SQL indexes
CamilleBeau 5e1b557
Update CHANGELOG.md
CamilleBeau File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,11 @@ | ||
| -- Note: For projects with duplicate examiners, patch must be run AFTER running | ||
| -- tools/single_use/Remove_duplicate_examiners.php | ||
|
|
||
| -- Remove constraint on full name | ||
| -- Change userID to be unique | ||
| -- Make full name / userID combined unique | ||
| ALTER TABLE examiners | ||
| DROP INDEX `full_name`, | ||
| DROP INDEX `FK_examiners_2`, | ||
| ADD UNIQUE KEY `unique_examiner` (`full_name`,`userID`), | ||
| ADD UNIQUE KEY `FK_examiners_2` (`userID`); |
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.