Changeset 787


Ignore:
Timestamp:
Jan 11, 2016, 12:08:17 AM (9 years ago)
Author:
chronos
Message:
  • Fixed: Not saved SQL update trace file from previous commit.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Application/UpdateTrace.php

    r786 r787  
    17991799  $Manager->Execute('ALTER TABLE `Member` DROP FOREIGN KEY Member_ibfk_28;');
    18001800  $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');
    18021803  $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;');
    18041805  $Manager->Execute('ALTER TABLE `Member` ADD FOREIGN KEY (`ChangeReplaceId`) REFERENCES `Member`(`Id`) ON DELETE RESTRICT ON UPDATE RESTRICT;');
    18051806}
Note: See TracChangeset for help on using the changeset viewer.