Index: openacs-4/packages/calendar/sql/postgresql/cal-table-create.sql =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/calendar/sql/postgresql/cal-table-create.sql,v diff -u -N -r1.1 -r1.2 --- openacs-4/packages/calendar/sql/postgresql/cal-table-create.sql 24 Aug 2001 01:10:04 -0000 1.1 +++ openacs-4/packages/calendar/sql/postgresql/cal-table-create.sql 5 Sep 2001 09:24:00 -0000 1.2 @@ -58,8 +58,9 @@ -- which time zone does the user belong to time_zone integer constraint cal_pty_prefs_time_zone_fk - references timezones - on delete cascade, + --references timezones + --on delete cascade, + check (daily_end < 24 and daily_end > 0), -- which day to start the week, monday or sunday first_day_of_week varchar(9) default 'Sunday'