diff --git a/kernel/kernel-impl/src/main/sql/oracle/sakai_config_item.sql b/kernel/kernel-impl/src/main/sql/oracle/sakai_config_item.sql index abc8cfa631f4..61fe3f1e8be0 100644 --- a/kernel/kernel-impl/src/main/sql/oracle/sakai_config_item.sql +++ b/kernel/kernel-impl/src/main/sql/oracle/sakai_config_item.sql @@ -27,12 +27,4 @@ ALTER TABLE SAKAI_CONFIG_ITEM CREATE INDEX SCI_NODE_IDX ON SAKAI_CONFIG_ITEM (NODE ASC); CREATE INDEX SCI_NAME_IDX ON SAKAI_CONFIG_ITEM (NAME ASC); -CREATE SEQUENCE SAKAI_CFG_ITEM_SEQ; - -CREATE OR REPLACE TRIGGER SCI_ID_AI -BEFORE INSERT ON SAKAI_CONFIG_ITEM -FOR EACH ROW -BEGIN - SELECT SAKAI_CFG_ITEM_SEQ.NEXTVAL INTO :new.ID FROM dual; -END; -/ +CREATE SEQUENCE SAKAI_CONFIG_ITEM_S; diff --git a/reference/docs/conversion/sakai_11_oracle_conversion.sql b/reference/docs/conversion/sakai_11_oracle_conversion.sql index 006c082c23d7..4baa6f6f7216 100644 --- a/reference/docs/conversion/sakai_11_oracle_conversion.sql +++ b/reference/docs/conversion/sakai_11_oracle_conversion.sql @@ -813,16 +813,7 @@ ALTER TABLE SAKAI_CONFIG_ITEM CREATE INDEX SCI_NODE_IDX ON SAKAI_CONFIG_ITEM (NODE ASC); CREATE INDEX SCI_NAME_IDX ON SAKAI_CONFIG_ITEM (NAME ASC); -CREATE SEQUENCE SAKAI_CFG_ITEM_S; - --- This is not needed if sequence match name in file HibernateConfigItem.hbm.xml ---CREATE OR REPLACE TRIGGER SCI_ID_AI ---BEFORE INSERT ON SAKAI_CONFIG_ITEM ---FOR EACH ROW ---BEGIN --- SELECT SAKAI_CFG_ITEM_SEQ.NEXTVAL INTO :new.ID FROM dual; ---END; ---/ +CREATE SEQUENCE SAKAI_CONFIG_ITEM_S; -- SAK-30032 Create table to handle Peer Review attachments -- CREATE TABLE ASN_PEER_ASSESSMENT_ATTACH_T (