Projekt

Obecné

Profil

« Předchozí | Další » 

Revize 269

Přidáno uživatelem Tomáš Dulík před asi 15 roky(ů)

Vlozeny nove typy enum_types pro ucty uroku a bankovni poplatky
Oboji je read only, pouziva se v Accounts_Controller::store_transfers_ebanka()

Zobrazit rozdíly:

freenetis/trunk/kohana/application/upgrade_sql/upgrade_sql_258.php
<?php
$upgrade_sql[258] = array(
"UPDATE `axo` SET `value` = 'fees' WHERE `axo`.`id` = 130 LIMIT 1;",
"INSERT INTO `translations` (`id`, `original_term`, `translated_term`, `lang`) VALUES
(19, 'bank', 'bankovní', 'cs'),
(20, 'credit', 'kreditní', 'cs'),
(21, 'infrastructure', 'infrastrukturní', 'cs'),
(22, 'suppliers', 'dodavatelé', 'cs'),
(23, 'unidentified', 'neidentifikovaný', 'cs');"
);
?>
freenetis/trunk/kohana/application/upgrade_sql/upgrade_sql.php
$upgrade_sql[get_SVN_rev()] = array(
"UPDATE `axo` SET `value` = 'fees' WHERE `axo`.`id` = 130 LIMIT 1;",
"INSERT INTO `translations` (`id`, `original_term`, `translated_term`, `lang`) VALUES
(19, 'bank', 'bankovní', 'cs'),
(20, 'credit', 'kreditní', 'cs'),
(21, 'infrastructure', 'infrastrukturní', 'cs'),
(22, 'suppliers', 'dodavatelé', 'cs'),
(23, 'unidentified', 'neidentifikovaný', 'cs');"
"INSERT INTO `enum_types` (`type_id`, `value`, `read_only`)
VALUES ('5', 'bank fees', '1'),
('5', 'bank interests', '1');"
);

Také k dispozici: Unified diff