Skip to content

Commit

Permalink
fixed migrating previous elasticsearch structure to current one #1696
Browse files Browse the repository at this point in the history
  • Loading branch information
s3tezsky authored Feb 27, 2020
2 parents 96de031 + e43955e commit 27fc4b3
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/Resources/definition/product/1.json
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@
"variants": {
"type": "integer"
},
"main_variant": {
"main_variant_id": {
"type": "integer"
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/Resources/definition/product/2.json
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@
"variants": {
"type": "integer"
},
"main_variant": {
"main_variant_id": {
"type": "integer"
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ private function getExpectedStructureForRepository(): array
'is_using_stock',
'stock_quantity',
'variants',
'main_variant',
'main_variant_id',
];
}
}

0 comments on commit 27fc4b3

Please sign in to comment.