Ignore:
Timestamp:
Jan 2, 2016, 11:18:17 AM (9 years ago)
Author:
chronos
Message:
  • Fixed: Wrong SQL query concatenation in IS module.
  • Fixed: Update code was wrongly commented out.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Common/Setup/Updates.php

    r771 r774  
    16371637function UpdateTo768($Manager)
    16381638{
    1639 /*  $Manager->Execute('ALTER TABLE `NetworkDomainAlias` ADD `Domain` INT NOT NULL AFTER `Comment`;');
     1639  $Manager->Execute('ALTER TABLE `NetworkDomainAlias` ADD `Domain` INT NOT NULL AFTER `Comment`;');
    16401640  $Manager->Execute('ALTER TABLE `NetworkDomainAlias` ADD KEY `Domain` (`Domain`);');
    16411641  $Manager->Execute('UPDATE `NetworkDomainAlias` SET `Domain`=1');
     
    16671667  KEY `Domain` (`Domain`)
    16681668) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8;');
    1669 */
    1670         $Manager->Execute('ALTER TABLE `NetworkDomainItemFilter`
     1669  $Manager->Execute('ALTER TABLE `NetworkDomainItemFilter`
    16711670  ADD FOREIGN KEY (`Domain`) REFERENCES `NetworkDomain` (`Id`) ON DELETE RESTRICT ON UPDATE RESTRICT;');
    16721671  $Manager->Execute('ALTER TABLE `NetworkDomainItemFilter`
Note: See TracChangeset for help on using the changeset viewer.