Changeset 6968 for sandbox/2.4.2-expresso1/expressoCalendar/setup
- Timestamp:
- 08/08/12 18:02:13 (12 years ago)
- Location:
- sandbox/2.4.2-expresso1/expressoCalendar/setup
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
sandbox/2.4.2-expresso1/expressoCalendar/setup/setup.inc.php
r6945 r6968 34 34 $setup_info['expressoCalendar']['tables'][] = 'module_preference'; 35 35 $setup_info['expressoCalendar']['tables'][] = 'calendar_repeat_ranges'; 36 $setup_info['expressoCalendar']['tables'][] = 'calendar_task_to_activity_object'; 36 $setup_info['expressoCalendar']['tables'][] = 'calendar_task_to_activity_object'; 37 $setup_info['expressoCalendar']['tables'][] = 'calendar_historic'; 37 38 38 39 $setup_info['expressoCalendar']['enable'] = 1; -
sandbox/2.4.2-expresso1/expressoCalendar/setup/tables_current.inc.php
r6945 r6968 148 148 149 149 150 150 'calendar_participant' => array( 151 151 'fd' => array( 152 152 'id' => array( 'type' => 'auto', 'nullable' => False), … … 183 183 'uc' => array() 184 184 ), 185 186 187 'calendar_signature_alarm' => array( 185 186 'calendar_historic' => array( 187 'fd' => array( 188 'id' => array( 'type' => 'auto', 'nullable' => False), 189 'object_id' => array('type' => 'int', 'precision' => '8','nullable' => True), 190 'user_uidnumber' => array( 'type' => 'int', 'precision' => '8', 'nullable' => False), 191 'dtstamp' => array( 'type' => 'bigint', 'precision' => '16', 'nullable' => False), 192 'attribute' => array('type' => 'varchar','precision' => '50','nullable' => True), 193 'before_value' => array( 'type' => 'varchar', 'precision' => '255', 'nullable' => True), 194 'after_value' => array( 'type' => 'varchar', 'precision' => '255', 'nullable' => True) 195 ), 196 'pk' => array('id'), 197 'fk' => array(), 198 'ix' => array(), 199 'uc' => array() 200 ), 201 202 'calendar_signature_alarm' => array( 188 203 'fd' => array( 189 204 'id' => array( 'type' => 'auto', 'nullable' => False), -
sandbox/2.4.2-expresso1/expressoCalendar/setup/tables_update.inc.php
r6945 r6968 137 137 $oProc->query("CREATE TABLE calendar_task_to_activity_object(id serial not null, calendar_object_activity_id integer not null, calendar_object_task_id integer not null, owner integer not null);"); 138 138 139 $oProc->CreateTable('calendar_historic', array( 140 'fd' => array( 141 'id' => array( 'type' => 'auto', 'nullable' => False), 142 'object_id' => array('type' => 'int', 'precision' => '8','nullable' => True), 143 'user_uidnumber' => array( 'type' => 'int', 'precision' => '8', 'nullable' => False), 144 'dtstamp' => array( 'type' => 'bigint', 'precision' => '16', 'nullable' => False), 145 'attribute' => array('type' => 'varchar','precision' => '50','nullable' => True), 146 'before_value' => array( 'type' => 'varchar', 'precision' => '255', 'nullable' => True), 147 'after_value' => array( 'type' => 'varchar', 'precision' => '255', 'nullable' => True) 148 ), 149 'pk' => array('id'), 150 'fk' => array(), 151 'ix' => array(), 152 'uc' => array() 153 ) 154 ); 155 156 $oProc->CreateTable('calendar_task_to_activity_object', array( 157 'fd' => array( 158 'id' => array( 'type' => 'auto', 'nullable' => False), 159 'calendar_object_activity_id' => array( 'type' => 'int', 'precision' => '8', 'nullable' => False), 160 'calendar_object_task_id' => array( 'type' => 'int', 'precision' => '8', 'nullable' => False), 161 'owner' => array( 'type' => 'int', 'precision' => '8', 'nullable' => False), 162 ), 163 'pk' => array('id'), 164 'fk' => array(), 165 'ix' => array(), 166 'uc' => array() 167 ) 168 ); 169 139 170 $GLOBALS['setup_info']['expressoCalendar']['currentver'] = '1.008'; 140 171 return $GLOBALS['setup_info']['expressoCalendar']['currentver'];
Note: See TracChangeset
for help on using the changeset viewer.