Index: openacs-4/packages/calendar/sql/postgresql/cal-item-create.sql
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/calendar/sql/postgresql/cal-item-create.sql,v
diff -u -r1.6 -r1.7
--- openacs-4/packages/calendar/sql/postgresql/cal-item-create.sql	8 Mar 2002 22:29:24 -0000	1.6
+++ openacs-4/packages/calendar/sql/postgresql/cal-item-create.sql	16 Apr 2002 05:16:42 -0000	1.7
@@ -75,6 +75,10 @@
                           constraint cal_item_which_cal_fk
                           references calendars
                           on delete cascade
+        item_type_id            integer,
+        constraint cal_items_type_fk
+        foreign key (on_which_calendar, item_type_id)
+        references cal_item_types(calendar_id, item_type_id)
 );
 
 comment on table cal_items is '
