-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* BHBC-1343_V3 - adjustments to survey summary results persistence targets - addition of survey_summary_submission and survey_summary_submission_message tables - removed survey_summary_general and summary_parameter_method_code tables - adjustments to satisfy BHBC-1375 for project report attachment workflow - addition of table project_report_attachment and author tables - various seed population and data integrity checks
- Loading branch information
1 parent
35a5e45
commit 8916dd4
Showing
54 changed files
with
358 additions
and
203 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
13 changes: 0 additions & 13 deletions
13
database/src/migrations/release.0.26/populate_summary_parameter_method_code.sql
This file was deleted.
Oops, something went wrong.
File renamed without changes.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,6 +17,8 @@ $$ | |
-- 2021-06-18 initial release | ||
-- [email protected] | ||
-- 2021-06-21 added occurrence submission delete | ||
-- [email protected] | ||
-- 2021-09-21 added survey summary submission delete | ||
-- ******************************************************************* | ||
declare | ||
_occurrence_submission_id occurrence_submission.occurrence_submission_id%type; | ||
|
@@ -25,8 +27,8 @@ begin | |
call api_delete_occurrence_submission(_occurrence_submission_id); | ||
end loop; | ||
|
||
delete from survey_summary_detail where survey_summary_general_id in (select survey_summary_general_id from survey_summary_general where survey_id = p_survey_id); | ||
delete from survey_summary_general where survey_id = p_survey_id; | ||
delete from survey_summary_detail where survey_summary_submission_id in (select survey_summary_submission_id from survey_summary_submission where survey_id = p_survey_id); | ||
delete from survey_summary_submission where survey_id = p_survey_id; | ||
delete from survey_proprietor where survey_id = p_survey_id; | ||
delete from survey_attachment where survey_id = p_survey_id; | ||
delete from study_species where survey_id = p_survey_id; | ||
|
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Oops, something went wrong.