Changeset 774 for trunk/Common/Setup/Updates.php
- Timestamp:
- Jan 2, 2016, 11:18:17 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Common/Setup/Updates.php
r771 r774 1637 1637 function UpdateTo768($Manager) 1638 1638 { 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`;'); 1640 1640 $Manager->Execute('ALTER TABLE `NetworkDomainAlias` ADD KEY `Domain` (`Domain`);'); 1641 1641 $Manager->Execute('UPDATE `NetworkDomainAlias` SET `Domain`=1'); … … 1667 1667 KEY `Domain` (`Domain`) 1668 1668 ) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8;'); 1669 */ 1670 $Manager->Execute('ALTER TABLE `NetworkDomainItemFilter` 1669 $Manager->Execute('ALTER TABLE `NetworkDomainItemFilter` 1671 1670 ADD FOREIGN KEY (`Domain`) REFERENCES `NetworkDomain` (`Id`) ON DELETE RESTRICT ON UPDATE RESTRICT;'); 1672 1671 $Manager->Execute('ALTER TABLE `NetworkDomainItemFilter`
Note:
See TracChangeset
for help on using the changeset viewer.