Changeset 786 for trunk/Application/UpdateTrace.php
- Timestamp:
- Jan 11, 2016, 12:06:08 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Application/UpdateTrace.php
r785 r786 1793 1793 { 1794 1794 $Manager->Execute('DROP TABLE `NetworkInterfaceStat`'); 1795 } 1796 1797 function UpdateTo786($Manager) 1798 { 1799 $Manager->Execute('ALTER TABLE `Member` DROP FOREIGN KEY Member_ibfk_28;'); 1800 $Manager->Execute('ALTER TABLE `Member` DROP `BillingPeriodNext`;'); 1801 $Manager->Execute('ALTER TABLE `Member` ADD `Action` ENUM( "add", "modify", "remove" ) NULL'); 1802 $Manager->Execute('ALTER TABLE `Member` ADD `ChangeTime` DATETIME NULL'); 1803 $Manager->Execute('ALTER TABLE `Member` ADD `ReplaceId` `ChangeReplaceId` INT(11) NULL DEFAULT NULL;'); 1804 $Manager->Execute('ALTER TABLE `Member` ADD FOREIGN KEY (`ChangeReplaceId`) REFERENCES `Member`(`Id`) ON DELETE RESTRICT ON UPDATE RESTRICT;'); 1795 1805 } 1796 1806 … … 1876 1886 768 => array('Revision' => 770, 'Function' => 'UpdateTo770'), 1877 1887 770 => array('Revision' => 785, 'Function' => 'UpdateTo785'), 1888 775 => array('Revision' => 786, 'Function' => 'UpdateTo786'), 1878 1889 )); 1879 1890 }
Note:
See TracChangeset
for help on using the changeset viewer.