Index: openacs-4/packages/curriculum/sql/postgresql/curriculum-element-create.sql
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/curriculum/sql/postgresql/curriculum-element-create.sql,v
diff -u -r1.1 -r1.2
--- openacs-4/packages/curriculum/sql/postgresql/curriculum-element-create.sql	26 May 2003 17:42:18 -0000	1.1
+++ openacs-4/packages/curriculum/sql/postgresql/curriculum-element-create.sql	3 Jun 2003 10:45:44 -0000	1.2
@@ -15,7 +15,9 @@
     curriculum_id                  integer
                                    constraint cu_elements_curriculum_id_fk
                                    references cu_curriculums (curriculum_id)
-                                   on delete cascade,
+                                   on delete cascade
+                                   constraint cu_elements_curriculum_id_nn
+                                   not null,
     name                           varchar(200)
                                    constraint cu_elements_name_nn
                                    not null,
