We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 171a84e commit 1b24254Copy full SHA for 1b24254
src/Blueprint/BlueprintDiff.php
@@ -43,12 +43,9 @@ public function applyColumnIndexes(bool $reverse = false)
43
44
foreach ($this->getAddedIndexes($reverse) as $index) {
45
$addedIndex = $blueprint->{$index->name}($index->columns, $index->index, $index->algorithm);
46
- if ($index->on) {
47
- $addedIndex->on($index->on);
48
- }
49
50
- if ($index->references) {
51
- $addedIndex->references($index->references);
+ foreach (array_keys($index->getAttributes()) as $attribute) {
+ $addedIndex->{$attribute} = $index->{$attribute};
52
}
53
54
0 commit comments