We will be off from 27/1 (Monday) to 31/1 (Friday) (GMT +7) for our Tet Holiday (Lunar New Year) 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
$this->updateSchemaVersion1002($setup);
}
if (version_compare($context->getVersion(), '1.4.5.1', '<')) {
$this->updateSchemaVersion1451($setup);
}
if (version_compare($context->getVersion(), '1.4.5.2', '<')) {
$this->updateSchemaVersion1452($setup);
if (version_compare($context->getVersion(), '2.0.0', '<')) {
$this->updateSchemaVersion200($setup);
}
$setup->endSetup();
......@@ -116,9 +112,8 @@ class UpgradeSchema implements UpgradeSchemaInterface
/**
* @param SchemaSetupInterface $setup
*/
public function updateSchemaVersion1451(SchemaSetupInterface $setup)
public function updateSchemaVersion200(SchemaSetupInterface $setup)
{
/**
* Create table 'adyen_order_payment'
*/
......@@ -211,13 +206,7 @@ class UpgradeSchema implements UpgradeSchemaInterface
->setComment('Adyen Order Payment');
$setup->getConnection()->createTable($table);
}
/**
* @param SchemaSetupInterface $setup
*/
public function updateSchemaVersion1452(SchemaSetupInterface $setup)
{
// add originalReference to notification table
$connection = $setup->getConnection();
......@@ -234,4 +223,5 @@ class UpgradeSchema implements UpgradeSchemaInterface
\Adyen\Payment\Model\Notification::ORIGINAL_REFERENCE, $column
);
}
}
\ No newline at end of file
......@@ -2,7 +2,7 @@
"name": "adyen/module-payment",
"description": "Official Magento2 Plugin to connect to Payment Service Provider Adyen.",
"type": "magento2-module",
"version": "1.4.5.2",
"version": "2.0.0",
"license": [
"OSL-3.0",
"AFL-3.0"
......
......@@ -24,7 +24,7 @@
-->
<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>
<module name="Magento_Sales"/>
<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