From 185ea1be410ce560a5a5db8a21ab6983ce564e31 Mon Sep 17 00:00:00 2001 From: MauricioMurga Date: Fri, 19 Dec 2014 14:17:34 -0600 Subject: [PATCH] add versioning --- CHANGELOG | 4 +++- .../community/Conekta/Bank/etc/config.xml | 2 +- .../community/Conekta/Card/etc/config.xml | 2 +- .../community/Conekta/Oxxo/etc/config.xml | 2 +- .../community/Conekta/Realtime/etc/config.xml | 2 +- .../community/Conekta/Spei/etc/config.xml | 2 +- .../spei_setup/mysql4-upgrade-0.3.0-0.3.1.php | 19 +++++++++++++++++++ .../spei_setup/mysql4-upgrade-0.3.1-0.3.2.php | 5 +++++ .../community/Conekta/Webhook/etc/config.xml | 2 +- 9 files changed, 33 insertions(+), 7 deletions(-) create mode 100755 app/code/community/Conekta/Spei/sql/spei_setup/mysql4-upgrade-0.3.0-0.3.1.php create mode 100755 app/code/community/Conekta/Spei/sql/spei_setup/mysql4-upgrade-0.3.1-0.3.2.php diff --git a/CHANGELOG b/CHANGELOG index c07f378..7ed7694 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -55,4 +55,6 @@ === 0.3.1 2014-11-27 * Fix SPEI db columns. * Add dynamic currency. -* Add dynamic language. \ No newline at end of file +* Add dynamic language. +=== 0.3.2 2014-11-27 +* Remove Amasty from plugin completely. \ No newline at end of file diff --git a/app/code/community/Conekta/Bank/etc/config.xml b/app/code/community/Conekta/Bank/etc/config.xml index 66bf8b8..e0e64bd 100755 --- a/app/code/community/Conekta/Bank/etc/config.xml +++ b/app/code/community/Conekta/Bank/etc/config.xml @@ -2,7 +2,7 @@ - 0.3.1 + 0.3.2 diff --git a/app/code/community/Conekta/Card/etc/config.xml b/app/code/community/Conekta/Card/etc/config.xml index db65322..ff86a0e 100755 --- a/app/code/community/Conekta/Card/etc/config.xml +++ b/app/code/community/Conekta/Card/etc/config.xml @@ -2,7 +2,7 @@ - 0.3.1 + 0.3.2 diff --git a/app/code/community/Conekta/Oxxo/etc/config.xml b/app/code/community/Conekta/Oxxo/etc/config.xml index eb72ad6..6989b0c 100755 --- a/app/code/community/Conekta/Oxxo/etc/config.xml +++ b/app/code/community/Conekta/Oxxo/etc/config.xml @@ -2,7 +2,7 @@ - 0.3.1 + 0.3.2 diff --git a/app/code/community/Conekta/Realtime/etc/config.xml b/app/code/community/Conekta/Realtime/etc/config.xml index 0981c9b..47ffd09 100755 --- a/app/code/community/Conekta/Realtime/etc/config.xml +++ b/app/code/community/Conekta/Realtime/etc/config.xml @@ -2,7 +2,7 @@ - 0.3.1 + 0.3.2 diff --git a/app/code/community/Conekta/Spei/etc/config.xml b/app/code/community/Conekta/Spei/etc/config.xml index 9552a7d..9de9b6f 100755 --- a/app/code/community/Conekta/Spei/etc/config.xml +++ b/app/code/community/Conekta/Spei/etc/config.xml @@ -2,7 +2,7 @@ - 0.3.1 + 0.3.2 diff --git a/app/code/community/Conekta/Spei/sql/spei_setup/mysql4-upgrade-0.3.0-0.3.1.php b/app/code/community/Conekta/Spei/sql/spei_setup/mysql4-upgrade-0.3.0-0.3.1.php new file mode 100755 index 0000000..958e972 --- /dev/null +++ b/app/code/community/Conekta/Spei/sql/spei_setup/mysql4-upgrade-0.3.0-0.3.1.php @@ -0,0 +1,19 @@ +startSetup(); + +$connection = $installer->getConnection(); +$connection->addColumn($installer->getTable('sales/order_payment'), 'spei_bank', array( + 'type' => Varien_Db_Ddl_Table::TYPE_TEXT, + 'length' => '255', + 'comment' => 'Spei Bank' + )); + +$connection->dropColumn($installer->getTable('sales/order_payment'), 'oxxo_bank'); +$connection->dropColumn($installer->getTable('sales/quote_payment'), 'spei_expiry_date'); +$connection->dropColumn($installer->getTable('sales/order_payment'), 'spei_expiry_date'); + + +$installer->endSetup(); diff --git a/app/code/community/Conekta/Spei/sql/spei_setup/mysql4-upgrade-0.3.1-0.3.2.php b/app/code/community/Conekta/Spei/sql/spei_setup/mysql4-upgrade-0.3.1-0.3.2.php new file mode 100755 index 0000000..2580d89 --- /dev/null +++ b/app/code/community/Conekta/Spei/sql/spei_setup/mysql4-upgrade-0.3.1-0.3.2.php @@ -0,0 +1,5 @@ +startSetup(); +$installer->endSetup(); diff --git a/app/code/community/Conekta/Webhook/etc/config.xml b/app/code/community/Conekta/Webhook/etc/config.xml index df34651..f186708 100755 --- a/app/code/community/Conekta/Webhook/etc/config.xml +++ b/app/code/community/Conekta/Webhook/etc/config.xml @@ -2,7 +2,7 @@ - 0.2.9 + 0.3.2