Completed
Branch feature/pre-split (f1ffcf)
by Anton
03:59
created
source/Spiral/ORM/Schemas/Definitions/IndexDefinition.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -54,7 +54,7 @@
 block discarded – undo
54 54
      */
55 55
     public function getName(): string
56 56
     {
57
-        $name = ($this->isUnique() ? 'unique_' : 'index_') . join('_', $this->getColumns());
57
+        $name = ($this->isUnique() ? 'unique_' : 'index_').join('_', $this->getColumns());
58 58
 
59 59
         return strlen($name) > 64 ? md5($name) : $name;
60 60
     }
Please login to merge, or discard this patch.