forked from sakaiproject/sakai
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
SAM-3066 move db conversions to 11.3 upgrade script from 12
- Loading branch information
Showing
4 changed files
with
23 additions
and
24 deletions.
There are no files selected for viewing
12 changes: 12 additions & 0 deletions
12
reference/docs/conversion/sakai_11_2-11_3_mysql_conversion.sql
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,12 @@ | ||
-- BEGIN SAM-3066 remove unecessary indexes because Hibernate always create an index on an FK | ||
ALTER TABLE SAM_PUBLISHEDITEM_T DROP INDEX SAM_PUBITEM_SECTION_I; | ||
ALTER TABLE SAM_PUBLISHEDITEMFEEDBACK_T DROP INDEX SAM_PUBITEMFB_ITEM_I; | ||
ALTER TABLE SAM_PUBLISHEDITEMMETADATA_T DROP INDEX SAM_PUBITEMMETA_ITEM_I; | ||
ALTER TABLE SAM_PUBLISHEDITEMTEXT_T DROP INDEX SAM_PUBITEMTEXT_ITEM_I; | ||
ALTER TABLE SAM_PUBLISHEDSECTION_T DROP INDEX SAM_PUBSECTION_ASSESSMENT_I; | ||
ALTER TABLE SAM_PUBSECTION_ASSESSMENT_I DROP INDEX SAM_PUBITEM_SECTION_I; | ||
ALTER TABLE SAM_PUBLISHEDSECUREDIP_T DROP INDEX SAM_PUBIP_ASSESSMENT_I; | ||
ALTER TABLE SAM_PUBLISHEDSECTIONMETADATA_T DROP INDEX SAM_PUBSECTIONMETA_SECTION_I; | ||
ALTER TABLE SAM_ANSWER_T DROP INDEX SAM_ANSWER_ITEMTEXTID_I; | ||
-- END SAM-3066 | ||
|
11 changes: 11 additions & 0 deletions
11
reference/docs/conversion/sakai_11_2-11_3_oracle_conversion.sql
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,11 @@ | ||
-- BEGIN SAM-3066 remove unecessary indexes because Hibernate always create an index on an FK | ||
DROP INDEX SAM_PUBITEM_SECTION_I; | ||
DROP INDEX SAM_PUBITEMFB_ITEM_I; | ||
DROP INDEX SAM_PUBITEMMETA_ITEM_I; | ||
DROP INDEX SAM_PUBITEMTEXT_ITEM_I; | ||
DROP INDEX SAM_PUBSECTION_ASSESSMENT_I; | ||
DROP INDEX SAM_PUBITEM_SECTION_I; | ||
DROP INDEX SAM_PUBIP_ASSESSMENT_I; | ||
DROP INDEX SAM_PUBSECTIONMETA_SECTION_I; | ||
DROP INDEX SAM_ANSWER_ITEMTEXTID_I; | ||
-- END SAM-3066 |
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