Index: openacs-4/packages/acs-content-repository/sql/postgresql/content-create.sql
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/acs-content-repository/sql/postgresql/content-create.sql,v
diff -u -r1.29 -r1.30
--- openacs-4/packages/acs-content-repository/sql/postgresql/content-create.sql	7 Nov 2001 03:54:00 -0000	1.29
+++ openacs-4/packages/acs-content-repository/sql/postgresql/content-create.sql	7 Nov 2001 04:12:58 -0000	1.30
@@ -1321,8 +1321,11 @@
 -- 05-Nov-2001 Jon Griffin jon@mayuli.com
 
 alter table cr_folders
-add package_id integer references apm_packages;
 
+alter table cr_folders
+add constraint cr_flder_pkg_id_fk foreign key (package_id) references apm_packages (package_id);
+
+--constraint cr_fldr_pkg_id_fk
 -- show errors
 
 -- prompt *** Preparing search indices...
