Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
Adyen Magento2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Shared Libs
Adyen Magento2
Commits
f168d9d7
Commit
f168d9d7
authored
Oct 28, 2016
by
Rik ter Beek
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update to version 2.0.0
parent
d298451c
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
16 deletions
+6
-16
Setup/UpgradeSchema.php
Setup/UpgradeSchema.php
+4
-14
composer.json
composer.json
+1
-1
etc/module.xml
etc/module.xml
+1
-1
No files found.
Setup/UpgradeSchema.php
View file @
f168d9d7
...
...
@@ -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
updateSchemaVersion
1451
(
SchemaSetupInterface
$setup
)
public
function
updateSchemaVersion
200
(
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
composer.json
View file @
f168d9d7
...
...
@@ -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"
...
...
etc/module.xml
View file @
f168d9d7
...
...
@@ -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"
/>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment