Changeset 786 for trunk/Application
- Timestamp:
- Jan 11, 2016, 12:06:08 AM (9 years ago)
- Location:
- trunk/Application
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Application/FormClasses.php
r765 r786 30 30 'Shortcut' => array('Type' => 'String', 'Caption' => 'Kód', 'Default' => ''), 31 31 'Sequence' => array('Type' => 'TDocumentLineSequenceListLine', 'Caption' => 'Čísleníky', 'Default' => ''), 32 'Codes' => array('Type' => 'TDocumentLineCodeList', 'Caption' => 'Kódy', 'Default' => ''), 32 'Codes' => array('Type' => 'TDocumentLineCodeList', 'Caption' => 'Kódy', 'Default' => ''), 33 'Operations' => array('Type' => 'TFinanceOperationGroupListDocumentLine', 'Caption' => 'Skupiny finančních operací', 'Default' => ''), 34 'Invoices' => array('Type' => 'TFinanceInvoiceGroupListDocumentLine', 'Caption' => 'Skupiny faktur', 'Default' => ''), 33 35 ), 34 36 ), … … 42 44 'NextNumber' => array('Type' => 'Integer', 'Caption' => 'Další číslo', 'Default' => '1'), 43 45 'YearPrefix' => array('Type' => 'Boolean', 'Caption' => 'Rok jako přípona', 'Default' => '1'), 44 'Operations' => array('Type' => 'TFinanceOperationListDocumentLine', 'Caption' => 'Finanční operace', 'Default' => ''),45 'Invoices' => array('Type' => 'TFinanceInvoiceListDocumentLine', 'Caption' => 'Faktury', 'Default' => ''),46 46 ), 47 47 ), … … 461 461 'Filter' => '1', 462 462 ), 463 'TFinanceOperation ListDocumentLine' => array(464 'Type' => 'ManyToOne', 465 'Table' => 'FinanceOperation ',463 'TFinanceOperationGroupListDocumentLine' => array( 464 'Type' => 'ManyToOne', 465 'Table' => 'FinanceOperationGroup', 466 466 'Id' => 'Id', 467 467 'Ref' => 'DocumentLine', 468 468 'Filter' => '1', 469 469 ), 470 'TFinanceInvoice ListDocumentLine' => array(471 'Type' => 'ManyToOne', 472 'Table' => 'FinanceInvoice ',470 'TFinanceInvoiceGroupListDocumentLine' => array( 471 'Type' => 'ManyToOne', 472 'Table' => 'FinanceInvoiceGroup', 473 473 'Id' => 'Id', 474 474 'Ref' => 'DocumentLine', -
trunk/Application/UpdateTrace.php
r785 r786 1793 1793 { 1794 1794 $Manager->Execute('DROP TABLE `NetworkInterfaceStat`'); 1795 } 1796 1797 function UpdateTo786($Manager) 1798 { 1799 $Manager->Execute('ALTER TABLE `Member` DROP FOREIGN KEY Member_ibfk_28;'); 1800 $Manager->Execute('ALTER TABLE `Member` DROP `BillingPeriodNext`;'); 1801 $Manager->Execute('ALTER TABLE `Member` ADD `Action` ENUM( "add", "modify", "remove" ) NULL'); 1802 $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 FOREIGN KEY (`ChangeReplaceId`) REFERENCES `Member`(`Id`) ON DELETE RESTRICT ON UPDATE RESTRICT;'); 1795 1805 } 1796 1806 … … 1876 1886 768 => array('Revision' => 770, 'Function' => 'UpdateTo770'), 1877 1887 770 => array('Revision' => 785, 'Function' => 'UpdateTo785'), 1888 775 => array('Revision' => 786, 'Function' => 'UpdateTo786'), 1878 1889 )); 1879 1890 }
Note:
See TracChangeset
for help on using the changeset viewer.