Skip to content

Commit

Permalink
SAK-32417 add composite index for MFR_PERMISSION_LEVEL_T (sakaiprojec…
Browse files Browse the repository at this point in the history
  • Loading branch information
ottenhoff authored Apr 10, 2017
1 parent ff43af2 commit 6b08b63
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@
<property name="modifiedBy" column="MODIFIED_BY" length="255" not-null="true" />

<!-- Permission Levl Fields -->
<property name="name" column="NAME" length="50" not-null="true"/>
<property name="typeUuid" column="TYPE_UUID" length="36" not-null="true"/>
<property name="name" column="NAME" length="50" index="MFR_COMPOSITE_PERM" not-null="true"/>
<property name="typeUuid" column="TYPE_UUID" length="36" index="MFR_COMPOSITE_PERM" not-null="true"/>

<!-- Permissions -->
<property name="changeSettings" column="CHANGE_SETTINGS" not-null="true"/>
Expand Down
3 changes: 3 additions & 0 deletions reference/docs/conversion/sakai_12_mysql_conversion.sql
Original file line number Diff line number Diff line change
Expand Up @@ -413,3 +413,6 @@ CREATE TABLE BULLHORN_ALERTS
EVENT_DATE datetime NOT NULL,
PRIMARY KEY(ID)
);

-- SAK-32417 Forums permission composite index
ALTER TABLE MFR_PERMISSION_LEVEL_T ADD INDEX MFR_COMPOSITE_PERM (TYPE_UUID, NAME);
3 changes: 3 additions & 0 deletions reference/docs/conversion/sakai_12_oracle_conversion.sql
Original file line number Diff line number Diff line change
Expand Up @@ -473,3 +473,6 @@ CREATE OR REPLACE TRIGGER bullhorn_alerts_bir
INTO :new.id
FROM dual;
END;

-- SAK-32417 Forums permission composite index
CREATE INDEX MFR_COMPOSITE_PERM ON MFR_PERMISSION_LEVEL_T (TYPE_UUID, NAME);

0 comments on commit 6b08b63

Please sign in to comment.