File tree Expand file tree Collapse file tree 11 files changed +18
-19
lines changed
dev/tests/setup-integration/_files/Magento
TestSetupDeclarationModule5
TestSetupDeclarationModule6/etc
TestSetupDeclarationModule7/revisions/swap_with_declaration
TestSetupDeclarationModule8/revisions
incosistence_reference_definition Expand file tree Collapse file tree 11 files changed +18
-19
lines changed Original file line number Diff line number Diff line change 6
6
*/
7
7
-->
8
8
<schema xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
9
- xsi : noNamespaceSchemaLocation =" urn:magento:setup:Model /Declaration/Schema/etc/schema.xsd" >
9
+ xsi : noNamespaceSchemaLocation =" urn:magento:framework:Setup /Declaration/Schema/etc/schema.xsd" >
10
10
<table name =" reference_table" resource =" default" >
11
11
<column xsi : type =" tinyint" name =" tinyint_ref" padding =" 7" nullable =" false" identity =" true" unsigned =" false" />
12
12
<column xsi : type =" int" name =" some_integer" default =" 0" nullable =" false" unsigned =" false" />
Original file line number Diff line number Diff line change 6
6
namespace Magento \TestSetupDeclarationModule5 \Setup \Patch \Data ;
7
7
8
8
use Magento \Framework \App \ResourceConnection ;
9
- use Magento \Setup \ Model \Patch \DataPatchInterface ;
10
- use Magento \Setup \ Model \Patch \PatchRevertableInterface ;
11
- use Magento \Setup \ Model \Patch \PatchVersionInterface ;
9
+ use Magento \Framework \ Setup \Patch \DataPatchInterface ;
10
+ use Magento \Framework \ Setup \Patch \PatchRevertableInterface ;
11
+ use Magento \Framework \ Setup \Patch \PatchVersionInterface ;
12
12
13
13
/**
14
14
* Class SomePatch
Original file line number Diff line number Diff line change 6
6
namespace Magento \TestSetupDeclarationModule5 \Setup \Patch \Data ;
7
7
8
8
use Magento \Framework \App \ResourceConnection ;
9
- use Magento \Setup \ Model \Patch \DataPatchInterface ;
10
- use Magento \Setup \ Model \Patch \PatchRevertableInterface ;
11
- use Magento \Setup \ Model \Patch \PatchVersionInterface ;
9
+ use Magento \Framework \ Setup \Patch \DataPatchInterface ;
10
+ use Magento \Framework \ Setup \Patch \PatchRevertableInterface ;
11
+ use Magento \Framework \ Setup \Patch \PatchVersionInterface ;
12
12
13
13
/**
14
14
* Class SomePatch
Original file line number Diff line number Diff line change 6
6
*/
7
7
-->
8
8
<schema xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
9
- xsi : noNamespaceSchemaLocation =" urn:magento:setup:Model /Declaration/Schema/etc/schema.xsd" >
9
+ xsi : noNamespaceSchemaLocation =" urn:magento:framework:Setup /Declaration/Schema/etc/schema.xsd" >
10
10
<table name =" reference_table" resource =" sales" >
11
11
<column xsi : type =" tinyint" name =" tinyint_ref" padding =" 7" nullable =" false" identity =" true" unsigned =" false" />
12
12
<column xsi : type =" tinyint" name =" tinyint_without_padding" default =" 0" nullable =" false" unsigned =" false" />
Original file line number Diff line number Diff line change 6
6
namespace Magento \TestSetupDeclarationModule7 \Setup \Patch \Data ;
7
7
8
8
use Magento \Framework \App \ResourceConnection ;
9
- use Magento \Setup \ Model \Patch \DataPatchInterface ;
10
- use Magento \Setup \ Model \Patch \PatchRevertableInterface ;
11
- use Magento \Setup \ Model \Patch \PatchVersionInterface ;
9
+ use Magento \Framework \ Setup \Patch \DataPatchInterface ;
10
+ use Magento \Framework \ Setup \Patch \PatchRevertableInterface ;
11
+ use Magento \Framework \ Setup \Patch \PatchVersionInterface ;
12
12
13
13
/**
14
14
* Class SomePatch
Original file line number Diff line number Diff line change 6
6
namespace Magento \TestSetupDeclarationModule7 \Setup \Patch \Data ;
7
7
8
8
use Magento \Framework \App \ResourceConnection ;
9
- use Magento \Setup \Model \Patch \DataPatchInterface ;
10
- use Magento \Setup \Model \Patch \PatchRevertableInterface ;
11
- use Magento \Setup \Model \Patch \PatchVersionInterface ;
9
+ use Magento \Framework \Setup \Patch \DataPatchInterface ;
10
+ use Magento \Framework \Setup \Patch \PatchVersionInterface ;
12
11
13
12
/**
14
13
* Class SomePatch
Original file line number Diff line number Diff line change 6
6
*/
7
7
-->
8
8
<schema xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
9
- xsi : noNamespaceSchemaLocation =" urn:magento:setup:Model /Declaration/Schema/etc/schema.xsd" >
9
+ xsi : noNamespaceSchemaLocation =" urn:magento:framework:Setup /Declaration/Schema/etc/schema.xsd" >
10
10
<table name =" test_table" >
11
11
<column xsi : type =" float" name =" float" default =" 35" />
12
12
</table >
Original file line number Diff line number Diff line change 6
6
*/
7
7
-->
8
8
<config xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance" xsi : noNamespaceSchemaLocation =" urn:magento:framework:Module/etc/module.xsd" >
9
- <module name =" Magento_TestSetupDeclarationModule7" setup_version =" 2.0.3 " >
9
+ <module name =" Magento_TestSetupDeclarationModule7" setup_version =" 2.0.1 " >
10
10
<sequence >
11
11
<module name =" Magento_TestSetupDeclarationModule6" />
12
12
</sequence >
Original file line number Diff line number Diff line change 6
6
*/
7
7
-->
8
8
<schema xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
9
- xsi : noNamespaceSchemaLocation =" urn:magento:setup:Model /Declaration/Schema/etc/schema.xsd" >
9
+ xsi : noNamespaceSchemaLocation =" urn:magento:framework:Setup /Declaration/Schema/etc/schema.xsd" >
10
10
<table name =" test_table" resource =" default" comment =" Test Table" >
11
11
<column xsi : type =" int" name =" page_id" nullable =" false" unsigned =" false" identity =" true" />
12
12
<constraint xsi : type =" primary" name =" PRIMARY" >
Original file line number Diff line number Diff line change 6
6
*/
7
7
-->
8
8
<schema xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
9
- xsi : noNamespaceSchemaLocation =" urn:magento:setup:Model /Declaration/Schema/etc/schema.xsd" >
9
+ xsi : noNamespaceSchemaLocation =" urn:magento:framework:Setup /Declaration/Schema/etc/schema.xsd" >
10
10
<table name =" test_table" resource =" default" comment =" Test Table" >
11
11
<column xsi : type =" int" name =" page_id" nullable =" false" identity =" true" />
12
12
</table >
You can’t perform that action at this time.
0 commit comments