Skip to content

Commit

Permalink
SAK-32235 Bullhorns trigger error on a fresh database (sakaiproject#3987
Browse files Browse the repository at this point in the history
)
  • Loading branch information
juanjmerono authored and adrianfish committed Feb 28, 2017
1 parent 5e81f59 commit d202943
Showing 1 changed file with 6 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,12 @@ CREATE TABLE BULLHORN_ALERTS

CREATE SEQUENCE bullhorn_alerts_seq;

CREATE OR REPLACE TRIGGER bullhorn_alerts_bir
BEFORE INSERT ON BULLHORN_ALERTS
FOR EACH ROW

BEGIN
EXECUTE IMMEDIATE
'CREATE OR REPLACE TRIGGER bullhorn_alerts_bir
BEFORE INSERT ON BULLHORN_ALERTS
FOR EACH ROW
BEGIN
SELECT bullhorn_alerts_seq.NEXTVAL
INTO :new.id
FROM dual; END;
FROM dual; END;'; END;;

0 comments on commit d202943

Please sign in to comment.