Changeset 649 for trunk/Common/Setup/Updates.php
- Timestamp:
- Mar 26, 2014, 9:44:15 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Common/Setup/Updates.php
r647 r649 569 569 PRIMARY KEY (`Id`) 570 570 ) ENGINE=InnoDB DEFAULT CHARSET=utf8;'); 571 $Manager->Execute('INSERT INTO `FinanceVATType` FROM(SELECT Id, Name FROM `FinanceVAT`)');571 $Manager->Execute('INSERT INTO `FinanceVATType` (SELECT Id, Name FROM `FinanceVAT`)'); 572 572 $Manager->Execute('ALTER TABLE `FinanceVAT` ADD `ValidTo` DATE NULL , 573 573 ADD `Type` INT NOT NULL ;'); … … 617 617 `Id` 618 618 ) ON DELETE RESTRICT ON UPDATE RESTRICT ;'); 619 $Manager->Execute('ALTER TABLE `EmployeeSalary` ADD `Contract` INT N OT NULL ,619 $Manager->Execute('ALTER TABLE `EmployeeSalary` ADD `Contract` INT NULL , 620 620 ADD INDEX ( `Contract` ) ;'); 621 621 $Manager->Execute('ALTER TABLE `EmployeeSalary` ADD FOREIGN KEY ( `Contract` ) REFERENCES `Contract` (
Note:
See TracChangeset
for help on using the changeset viewer.