-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Default Min PSMs at Project Level
- Loading branch information
Showing
35 changed files
with
950 additions
and
180 deletions.
There are no files selected for viewing
Binary file modified
BIN
+1.39 KB
(100%)
database_scripts/MySQL_Workbench_Model/Proxl_Database_MySQL_Workbench_Model.mwb
Binary file not shown.
41 changes: 41 additions & 0 deletions
41
database_scripts/upgrades/2019_06_Update_2__add__project_level_default_fltr_min_psms.txt
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
|
||
-- 2019_06_Update_2__add__project_level_default_fltr_min_psms.txt | ||
|
||
CREATE TABLE IF NOT EXISTS project_level_default_fltr_min_psms_tbl ( | ||
id INT(10) UNSIGNED NOT NULL AUTO_INCREMENT, | ||
project_id INT(10) UNSIGNED NOT NULL, | ||
min_psms INT NOT NULL, | ||
created_auth_user_id INT UNSIGNED NOT NULL, | ||
created_date_time DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP, | ||
last_updated_auth_user_id INT NOT NULL, | ||
last_updated_date_time DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, | ||
PRIMARY KEY (id), | ||
CONSTRAINT project_level_default_fltr_min_psms_tbl | ||
FOREIGN KEY (project_id) | ||
REFERENCES project (id) | ||
ON DELETE CASCADE | ||
ON UPDATE NO ACTION) | ||
ENGINE = InnoDB | ||
COMMENT = 'User Entered Min PSMs that apply to all searches in the proj' /* comment truncated */ /*ect*/; | ||
|
||
|
||
CREATE TABLE project_level_default_fltr_min_psms_prev_tbl ( | ||
id INT(10) UNSIGNED NOT NULL, | ||
project_id INT(10) UNSIGNED NOT NULL, | ||
min_psms INT NOT NULL, | ||
created_auth_user_id INT UNSIGNED NOT NULL, | ||
created_date_time DATETIME NOT NULL, | ||
last_updated_auth_user_id INT NOT NULL, | ||
last_updated_date_time DATETIME NOT NULL, | ||
id_prev_record INT UNSIGNED NOT NULL AUTO_INCREMENT, | ||
copy_create_date DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP, | ||
PRIMARY KEY (id_prev_record), | ||
CONSTRAINT project_level_default_fltr_min_psms_prev_tbl | ||
FOREIGN KEY (project_id) | ||
REFERENCES project (id) | ||
ON DELETE CASCADE | ||
ON UPDATE NO ACTION) | ||
ENGINE = InnoDB | ||
COMMENT = 'User Entered Min PSMs that apply to all searches in the proj' /* comment truncated */ /*ect*/; | ||
|
||
|
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
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
Oops, something went wrong.