@@ 738-749 (lines=12) @@ | ||
735 | /** |
|
736 | * {@inheritdoc} |
|
737 | */ |
|
738 | public function hasIndexByName($tableName, $indexName) |
|
739 | { |
|
740 | $indexes = $this->getIndexes($tableName); |
|
741 | ||
742 | foreach ($indexes as $name => $index) { |
|
743 | if ($name === $indexName) { |
|
744 | return true; |
|
745 | } |
|
746 | } |
|
747 | ||
748 | return false; |
|
749 | } |
|
750 | ||
751 | /** |
|
752 | * {@inheritdoc} |
@@ 667-677 (lines=11) @@ | ||
664 | /** |
|
665 | * {@inheritdoc} |
|
666 | */ |
|
667 | public function hasIndexByName($tableName, $indexName) |
|
668 | { |
|
669 | $indexes = $this->getIndexes($tableName); |
|
670 | foreach ($indexes as $name => $index) { |
|
671 | if ($name === $indexName) { |
|
672 | return true; |
|
673 | } |
|
674 | } |
|
675 | ||
676 | return false; |
|
677 | } |
|
678 | ||
679 | /** |
|
680 | * {@inheritdoc} |
@@ 587-598 (lines=12) @@ | ||
584 | /** |
|
585 | * {@inheritdoc} |
|
586 | */ |
|
587 | public function hasIndexByName($tableName, $indexName) |
|
588 | { |
|
589 | $indexes = $this->getIndexes($tableName); |
|
590 | ||
591 | foreach ($indexes as $name => $index) { |
|
592 | if ($name === $indexName) { |
|
593 | return true; |
|
594 | } |
|
595 | } |
|
596 | ||
597 | return false; |
|
598 | } |
|
599 | ||
600 | /** |
|
601 | * {@inheritdoc} |