@@ -110,7 +110,7 @@ public function setVisitEventAssociationExtension(VisitEventAssociationExtension
110
110
*/
111
111
public function getMigrationVersion ()
112
112
{
113
- return 'v1_41_4 ' ;
113
+ return 'v1_41_5 ' ;
114
114
}
115
115
116
116
/**
@@ -336,7 +336,7 @@ protected function createOrocrmMagentoOrderTable(Schema $schema)
336
336
$ table ->addIndex (['data_channel_id ' ], 'IDX_4D09F305BDC09B73 ' , []);
337
337
$ table ->addIndex (['organization_id ' ], 'IDX_4D09F30532C8A3DE ' , []);
338
338
$ table ->setPrimaryKey (['id ' ]);
339
- $ table ->addIndex (['created_at ' ], 'mageorder_created_idx ' , []);
339
+ $ table ->addIndex (['created_at ' , ' id ' ], 'mageorder_created_idx ' , []);
340
340
$ table ->addUniqueIndex (['increment_id ' , 'channel_id ' ], 'unq_increment_id_channel_id ' );
341
341
}
342
342
@@ -427,7 +427,7 @@ protected function createOrocrmMagentoCustomerTable(Schema $schema)
427
427
$ table ->addIndex (['organization_id ' ], 'IDX_2A61EE7D32C8A3DE ' , []);
428
428
$ table ->setPrimaryKey (['id ' ]);
429
429
$ table ->addIndex (['first_name ' , 'last_name ' ], 'magecustomer_name_idx ' , []);
430
- $ table ->addIndex (['last_name ' , 'first_name ' ], 'magecustomer_rev_name_idx ' , []);
430
+ $ table ->addIndex (['last_name ' , 'first_name ' , ' id ' ], 'magecustomer_rev_name_idx ' , []);
431
431
$ table ->addIndex (['email ' ], 'magecustomer_email_guest_idx ' , []);
432
432
$ table ->addUniqueIndex (['origin_id ' , 'channel_id ' ], 'magecustomer_oid_cid_unq ' );
433
433
}
@@ -714,7 +714,7 @@ protected function createOrocrmMagentoCartTable(Schema $schema)
714
714
$ table ->addIndex (['organization_id ' ], 'IDX_96661A8032C8A3DE ' , []);
715
715
$ table ->setPrimaryKey (['id ' ]);
716
716
$ table ->addIndex (['origin_id ' ], 'magecart_origin_idx ' , []);
717
- $ table ->addIndex (['updatedAt ' ], 'magecart_updated_idx ' , []);
717
+ $ table ->addIndex (['updatedAt ' , ' id ' ], 'magecart_updated_idx ' , []);
718
718
$ table ->addIndex (['payment_details ' ], 'magecart_payment_details_idx ' , []);
719
719
$ table ->addIndex (['status_name ' , 'items_qty ' ], 'status_name_items_qty_idx ' , []);
720
720
$ table ->addUniqueIndex (['origin_id ' , 'channel_id ' ], 'unq_cart_origin_id_channel_id ' );
0 commit comments