diff options
Diffstat (limited to 'sql/legacy/Pg-upgrade-2.4.4-2.5.0.sql')
-rwxr-xr-x | sql/legacy/Pg-upgrade-2.4.4-2.5.0.sql | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/legacy/Pg-upgrade-2.4.4-2.5.0.sql b/sql/legacy/Pg-upgrade-2.4.4-2.5.0.sql index 5d3b9b9d..82da5cd6 100755 --- a/sql/legacy/Pg-upgrade-2.4.4-2.5.0.sql +++ b/sql/legacy/Pg-upgrade-2.4.4-2.5.0.sql @@ -10,7 +10,7 @@ create table recurring (id int, reference text, startdate date, nextdate date, e create table recurringemail (id int, formname text, format text, message text); create table recurringprint (id int, formname text, format text, printer text); -- -create function del_recurring() returns opaque as ' +create function del_recurring() returns trigger as ' begin delete from recurring where id = old.id; delete from recurringemail where id = old.id; |