From a20f91470be790450cea74918ded7904f6b87e09 Mon Sep 17 00:00:00 2001 From: Roland Schneider Date: Fri, 29 Jul 2016 17:32:05 +0200 Subject: [PATCH] add migration for payment later db index2 --- changelog.txt | 2 ++ common/config/params.php | 2 +- ...doorlog_customer__created_at_direction.php | 30 +++++++++++++++++++ 3 files changed, 33 insertions(+), 1 deletion(-) create mode 100644 console/migrations/m160729_060405_create_index_doorlog_customer__created_at_direction.php diff --git a/changelog.txt b/changelog.txt index 4f02570..4643a63 100644 --- a/changelog.txt +++ b/changelog.txt @@ -1,3 +1,5 @@ +-0.0.81 + - add comment to transaction/index -0.0.80 - csoportos beszedés: kosár ha nem sikerült - későbbi utalások: xls, belépések száma diff --git a/common/config/params.php b/common/config/params.php index 97d1ede..647ec75 100644 --- a/common/config/params.php +++ b/common/config/params.php @@ -5,7 +5,7 @@ return [ 'supportEmail' => 'rocho02@gmail.com', 'infoEmail' => 'info@rocho-net.hu', 'user.passwordResetTokenExpire' => 3600, - 'version' => 'v0.0.80', + 'version' => 'v0.0.81', 'company' => 'movar',//gyor 'company_name' => "Freimann Kft.", 'product_visiblity' => 'account',// on reception which products to display. account or global diff --git a/console/migrations/m160729_060405_create_index_doorlog_customer__created_at_direction.php b/console/migrations/m160729_060405_create_index_doorlog_customer__created_at_direction.php new file mode 100644 index 0000000..d838fa9 --- /dev/null +++ b/console/migrations/m160729_060405_create_index_doorlog_customer__created_at_direction.php @@ -0,0 +1,30 @@ +execute("create index fitweb_door_log_enter on door_log (id_customer,created_at,direction )"); + } + + public function down() + { + echo "m160729_060405_create_index_doorlog_customer__created_at_direction cannot be reverted.\n"; + + return false; + } + + /* + // Use safeUp/safeDown to run migration code within a transaction + public function safeUp() + { + } + + public function safeDown() + { + } + */ +}