Index: openacs-4/packages/faq/sql/postgresql/upgrade/upgrade-5.10.0d5-5.10.0d6.sql =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/faq/sql/postgresql/upgrade/upgrade-5.10.0d5-5.10.0d6.sql,v diff -u -r1.2 -r1.3 --- openacs-4/packages/faq/sql/postgresql/upgrade/upgrade-5.10.0d5-5.10.0d6.sql 31 Jan 2019 11:21:53 -0000 1.2 +++ openacs-4/packages/faq/sql/postgresql/upgrade/upgrade-5.10.0d5-5.10.0d6.sql 31 Jan 2019 11:28:11 -0000 1.3 @@ -39,7 +39,7 @@ ALTER TABLE faq_q_and_as DROP CONSTRAINT "' || v_constraint_name || '"'; EXECUTE ' ALTER TABLE faq_q_and_as - ADD CONSTRAINT ' || v_constraint_name || ' FOREIGN KEY (faq_id) + ADD CONSTRAINT "' || v_constraint_name || '" FOREIGN KEY (faq_id) REFERENCES faqs (faq_id) ON DELETE CASCADE'; END $body$;