This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/Declaration/Schema/Comparator.php b/Declaration/Schema/Comparator.php | |
--- a/Setup/Declaration/Schema/Comparator.php | |
+++ b/Setup/Declaration/Schema/Comparator.php | |
@@ -24,7 +24,39 @@ | |
*/ | |
public function compare(ElementInterface $first, ElementInterface $second) | |
{ | |
+ // Code below pulled from https://github.com/magento/magento2/issues/19597#issuecomment-463611130 | |
+ //Ugly patch (MariaDB compatibility) | |
+ $firstParams = $first->getDiffSensitiveParams(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
select rd.review_id, rd.customer_id, r.entity_pk_value, r.created_at, count(*) as c from review r | |
inner join review_detail rd on rd.review_id = r.review_id | |
group by entity_pk_value, rd.customer_id, rd.detail | |
having c > 1 | |
; |