This commit is contained in:
2026-09-15 10:26:34 +08:00
commit ecf36afa56
10493 changed files with 1404888 additions and 0 deletions
@@ -0,0 +1,28 @@
<?xml version="1.0"?>
<!--
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
-->
<schema xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="urn:magento:framework:Setup/Declaration/Schema/etc/schema.xsd">
<table name="test_table" resource="default">
<!--Columns-->
<column xsi:type="tinyint" name="tinyint" disabled="true"/>
<column xsi:type="tinyint" name="customint" unsigned="false" nullable="true"
onCreate="migrateDataFrom(tinyint)" comment="Version Id"/>
<!--Constraints-->
<constraint xsi:type="foreign" referenceId="TEST_TABLE_TINYINT_REFERENCE" disabled="1"/>
<constraint xsi:type="foreign" referenceId="TEST_TABLE_CUSTOMINT_REFERENCE"
column="customint" table="test_table"
referenceTable="reference_table" referenceColumn="tinyint_ref" onDelete="NO ACTION"/>
<!--Indexes-->
<index referenceId="TEST_TABLE_INDEX" indexType="btree" disabled="1"/>
<index referenceId="TEST_TABLE_CUSTOMINT_INDEX" indexType="btree">
<column name="customint"/>
<column name="bigint"/>
</index>
</table>
</schema>
@@ -0,0 +1,16 @@
{
"test_table": {
"column": {
"tinyint": true,
"customint": true
},
"index": {
"TEST_TABLE_TINYINT_REFERENCE": true,
"TEST_TABLE_CUSTOMINT_REFERENCE": true
},
"constraint": {
"TEST_TABLE_INDEX": true,
"TEST_TABLE_CUSTOMINT_INDEX": true
}
}
}
@@ -0,0 +1,13 @@
<?xml version="1.0"?>
<!--
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
-->
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Module/etc/module.xsd">
<module name="Magento_TestSetupDeclarationModule10" setup_version="0.0.1"/>
<sequence>
<module name="Magento_TestSetupDeclarationModule1"/>
</sequence>
</config>