Skip to content

Commit 1954878

Browse files
committed
fix: remove index visibility keyword from sql query
1 parent 6ef42d9 commit 1954878

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Blueprint.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -753,7 +753,7 @@ private function addUniqueIndexQuery()
753753

754754
$query = '';
755755
foreach ($this->uniqueIndex as $key => $uniqueColumn) {
756-
$query .= "\nUNIQUE INDEX {$uniqueColumn}_UNIQUE ({$uniqueColumn} ASC) VISIBLE,";
756+
$query .= "\nUNIQUE INDEX {$uniqueColumn}_UNIQUE ({$uniqueColumn} ASC),";
757757
}
758758

759759
return $query;

0 commit comments

Comments
 (0)