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
3998a743
Commit
3998a743
authored
Dec 24, 2020
by
acampos1916
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
New version to trigger upgrade scripts is 7.0.0
parent
13b3955d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
Setup/UpgradeSchema.php
Setup/UpgradeSchema.php
+4
-4
No files found.
Setup/UpgradeSchema.php
View file @
3998a743
...
...
@@ -71,8 +71,8 @@ class UpgradeSchema implements UpgradeSchemaInterface
$this
->
updateSchemaVersion540
(
$setup
);
}
if
(
version_compare
(
$context
->
getVersion
(),
'
6.7
.0'
,
'<'
))
{
$this
->
updateSchemaVersion
67
0
(
$setup
);
if
(
version_compare
(
$context
->
getVersion
(),
'
7.0
.0'
,
'<'
))
{
$this
->
updateSchemaVersion
70
0
(
$setup
);
}
$setup
->
endSetup
();
...
...
@@ -408,14 +408,14 @@ class UpgradeSchema implements UpgradeSchemaInterface
}
/**
* Upgrade to
6.7
.0
* Upgrade to
7.0
.0
*
* New sales_order column for the currency charged based on the Adyen config option (base or display)
*
* @param SchemaSetupInterface $setup
* @return void
*/
public
function
updateSchemaVersion
67
0
(
SchemaSetupInterface
$setup
)
public
function
updateSchemaVersion
70
0
(
SchemaSetupInterface
$setup
)
{
$connection
=
$setup
->
getConnection
();
$tableName
=
$setup
->
getTable
(
'sales_order'
);
...
...
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