Changeset 787
- Timestamp:
- Jan 11, 2016, 12:08:17 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Application/UpdateTrace.php
r786 r787 1799 1799 $Manager->Execute('ALTER TABLE `Member` DROP FOREIGN KEY Member_ibfk_28;'); 1800 1800 $Manager->Execute('ALTER TABLE `Member` DROP `BillingPeriodNext`;'); 1801 $Manager->Execute('ALTER TABLE `Member` ADD `Action` ENUM( "add", "modify", "remove" ) NULL'); 1801 /* Add table change action */ 1802 $Manager->Execute('ALTER TABLE `Member` ADD `ChangeAction` ENUM( "add", "modify", "remove" ) NULL'); 1802 1803 $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 `ChangeReplaceId` INT(11) NULL DEFAULT NULL;'); 1804 1805 $Manager->Execute('ALTER TABLE `Member` ADD FOREIGN KEY (`ChangeReplaceId`) REFERENCES `Member`(`Id`) ON DELETE RESTRICT ON UPDATE RESTRICT;'); 1805 1806 }
Note:
See TracChangeset
for help on using the changeset viewer.