1 ALTER TABLE `openemr_postcalendar_categories` ADD `pc_recurrtype` INT( 1 ) DEFAULT '0' NOT NULL ,
2 ADD `pc_recurrspec` TEXT,
3 ADD `pc_recurrfreq` INT( 3 ) DEFAULT '0' NOT NULL ,
5 ADD `pc_duration` BIGINT( 20 ) DEFAULT '0' NOT NULL ,
6 ADD `pc_end_date_flag` TINYINT DEFAULT '0' NOT NULL,
7 ADD `pc_end_date_type` INT( 2 ) ,
8 ADD `pc_end_date_freq` INT( 11 ) DEFAULT '0' NOT NULL,
9 ADD `pc_end_all_day` TINYINT(1) DEFAULT '0' NOT NULL,
10 ADD `pc_dailylimit` INT( 2 ) DEFAULT '0' NOT NULL ;
12 CREATE TABLE `openemr_postcalendar_limits` (
13 `pc_limitid` INT NOT NULL AUTO_INCREMENT ,
14 `pc_catid` INT NOT NULL ,
15 `pc_starttime` TIME NOT NULL ,
16 `pc_endtime` TIME NOT NULL ,
17 `pc_limit` INT DEFAULT '1' NOT NULL ,
18 PRIMARY KEY ( `pc_limitid` )