Skip to content

Commit d601441

Browse files
committed
Merge remote-tracking branch 'epam/MAGETWO-95654' into BugFixPR
2 parents 94cd531 + 622a9a7 commit d601441

File tree

2 files changed

+6
-8
lines changed

2 files changed

+6
-8
lines changed

app/code/Magento/AsynchronousOperations/etc/db_schema_whitelist.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@
1515
},
1616
"constraint": {
1717
"PRIMARY": true,
18-
"MAGENTO_BULK_UUID": true
18+
"MAGENTO_BULK_UUID": true,
19+
"MAGENTO_BULK_USER_ID_ADMIN_USER_USER_ID": true
1920
}
2021
},
2122
"magento_operation": {

lib/internal/Magento/Framework/Setup/Declaration/Schema/Operations/DropReference.php

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -35,26 +35,23 @@ public function __construct(DropElement $dropElement)
3535
}
3636

3737
/**
38-
* {@inheritdoc}
39-
* We can drop references and this will not cause any issues.
40-
*
41-
* @return bool
38+
* @inheritdoc
4239
*/
4340
public function isOperationDestructive()
4441
{
45-
return false;
42+
return true;
4643
}
4744

4845
/**
49-
* {@inheritdoc}
46+
* @inheritdoc
5047
*/
5148
public function getOperationName()
5249
{
5350
return self::OPERATION_NAME;
5451
}
5552

5653
/**
57-
* {@inheritdoc}
54+
* @inheritdoc
5855
*/
5956
public function doOperation(ElementHistory $elementHistory)
6057
{

0 commit comments

Comments
 (0)