We will work on Apr 26th (Saturday) and will be off from Apr 30th (Wednesday) until May 2nd (Friday) for public holiday in our country

Commit f168d9d7 authored by Rik ter Beek's avatar Rik ter Beek

update to version 2.0.0

parent d298451c
...@@ -52,12 +52,8 @@ class UpgradeSchema implements UpgradeSchemaInterface ...@@ -52,12 +52,8 @@ class UpgradeSchema implements UpgradeSchemaInterface
$this->updateSchemaVersion1002($setup); $this->updateSchemaVersion1002($setup);
} }
if (version_compare($context->getVersion(), '1.4.5.1', '<')) { if (version_compare($context->getVersion(), '2.0.0', '<')) {
$this->updateSchemaVersion1451($setup); $this->updateSchemaVersion200($setup);
}
if (version_compare($context->getVersion(), '1.4.5.2', '<')) {
$this->updateSchemaVersion1452($setup);
} }
$setup->endSetup(); $setup->endSetup();
...@@ -116,9 +112,8 @@ class UpgradeSchema implements UpgradeSchemaInterface ...@@ -116,9 +112,8 @@ class UpgradeSchema implements UpgradeSchemaInterface
/** /**
* @param SchemaSetupInterface $setup * @param SchemaSetupInterface $setup
*/ */
public function updateSchemaVersion1451(SchemaSetupInterface $setup) public function updateSchemaVersion200(SchemaSetupInterface $setup)
{ {
/** /**
* Create table 'adyen_order_payment' * Create table 'adyen_order_payment'
*/ */
...@@ -211,13 +206,7 @@ class UpgradeSchema implements UpgradeSchemaInterface ...@@ -211,13 +206,7 @@ class UpgradeSchema implements UpgradeSchemaInterface
->setComment('Adyen Order Payment'); ->setComment('Adyen Order Payment');
$setup->getConnection()->createTable($table); $setup->getConnection()->createTable($table);
}
/**
* @param SchemaSetupInterface $setup
*/
public function updateSchemaVersion1452(SchemaSetupInterface $setup)
{
// add originalReference to notification table // add originalReference to notification table
$connection = $setup->getConnection(); $connection = $setup->getConnection();
...@@ -234,4 +223,5 @@ class UpgradeSchema implements UpgradeSchemaInterface ...@@ -234,4 +223,5 @@ class UpgradeSchema implements UpgradeSchemaInterface
\Adyen\Payment\Model\Notification::ORIGINAL_REFERENCE, $column \Adyen\Payment\Model\Notification::ORIGINAL_REFERENCE, $column
); );
} }
} }
\ No newline at end of file
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
"name": "adyen/module-payment", "name": "adyen/module-payment",
"description": "Official Magento2 Plugin to connect to Payment Service Provider Adyen.", "description": "Official Magento2 Plugin to connect to Payment Service Provider Adyen.",
"type": "magento2-module", "type": "magento2-module",
"version": "1.4.5.2", "version": "2.0.0",
"license": [ "license": [
"OSL-3.0", "OSL-3.0",
"AFL-3.0" "AFL-3.0"
......
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
--> -->
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Module/etc/module.xsd"> <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Module/etc/module.xsd">
<module name="Adyen_Payment" setup_version="1.4.5.2"> <module name="Adyen_Payment" setup_version="2.0.0">
<sequence> <sequence>
<module name="Magento_Sales"/> <module name="Magento_Sales"/>
<module name="Magento_Quote"/> <module name="Magento_Quote"/>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment