- Timestamp:
- 08/08/12 18:02:13 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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.