File tree Expand file tree Collapse file tree 3 files changed +8
-9
lines changed
api-functional/_files/Magento/TestModuleDefaultHydrator/etc
setup-integration/_files/Magento/TestSetupDeclarationModule1/fixture
lib/internal/Magento/Framework/Setup/Declaration/Schema/Db/MySQL/Definition/Constraints Expand file tree Collapse file tree 3 files changed +8
-9
lines changed Original file line number Diff line number Diff line change 11
11
<column xsi : type =" int" name =" entity_id" padding =" 10" unsigned =" true" nullable =" false" identity =" true" />
12
12
<column xsi : type =" int" name =" customer_id" padding =" 10" unsigned =" true" nullable =" false" identity =" false" />
13
13
<column xsi : type =" varchar" name =" value" nullable =" true" length =" 255" />
14
- <constraint xsi : type =" primary" name =" PRIMARY" >
14
+ <constraint xsi : type =" primary" referenceId =" PRIMARY" >
15
15
<column name =" entity_id" />
16
16
</constraint >
17
- <constraint xsi : type =" foreign" name =" CSTR_EXTENSION_ATTR_ENTT_CSTR_ID_CSTR_ENTT_ENTT_ID"
17
+ <constraint xsi : type =" foreign" referenceId =" CSTR_EXTENSION_ATTR_ENTT_CSTR_ID_CSTR_ENTT_ENTT_ID"
18
18
table =" testmodule_default_hydrator_extension_attribute_entity" column =" customer_id"
19
19
referenceTable =" customer_entity" referenceColumn =" entity_id" onDelete =" CASCADE" />
20
20
</table >
Original file line number Diff line number Diff line change 225
225
],
226
226
],
227
227
'constraint ' => [
228
- 'TEST_TABLE_SMALLINT_BIGINT ' => [
228
+ 'TEST_TABLE_UNIQUE ' => [
229
229
'column ' => [
230
230
'smallint ' => 'smallint ' ,
231
231
'bigint ' => 'bigint ' ,
232
232
],
233
233
'type ' => 'unique ' ,
234
- 'referenceId ' => 'TEST_TABLE_SMALLINT_BIGINT ' ,
234
+ 'referenceId ' => 'TEST_TABLE_UNIQUE ' ,
235
235
],
236
- 'TEST_TABLE_TINYINT_REFERENCE_TABLE_TINYINT_REF ' => [
236
+ 'TEST_TABLE_TINYINT_REFERENCE ' => [
237
237
'type ' => 'foreign ' ,
238
- 'referenceId ' => 'TEST_TABLE_TINYINT_REFERENCE_TABLE_TINYINT_REF ' ,
238
+ 'referenceId ' => 'TEST_TABLE_TINYINT_REFERENCE ' ,
239
239
'column ' => 'tinyint ' ,
240
240
'table ' => 'test_table ' ,
241
241
'referenceTable ' => 'reference_table ' ,
244
244
],
245
245
],
246
246
'index ' => [
247
- 'TEST_TABLE_TINYINT_BIGINT ' => [
247
+ 'TEST_TABLE_INDEX ' => [
248
248
'column ' => [
249
249
'tinyint ' => 'tinyint ' ,
250
250
'bigint ' => 'bigint ' ,
251
251
],
252
- 'referenceId ' => 'TEST_TABLE_TINYINT_BIGINT ' ,
252
+ 'referenceId ' => 'TEST_TABLE_INDEX ' ,
253
253
'indexType ' => 'btree ' ,
254
254
],
255
255
],
Original file line number Diff line number Diff line change @@ -43,7 +43,6 @@ public function __construct(ResourceConnection $resourceConnection)
43
43
}
44
44
45
45
/**
46
- * @param Reference $foreignKey
47
46
* @inheritdoc
48
47
*/
49
48
public function toDefinition (ElementInterface $ foreignKey )
You can’t perform that action at this time.
0 commit comments