summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsrc/Schema/Grammars/FirebirdGrammar.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Schema/Grammars/FirebirdGrammar.php b/src/Schema/Grammars/FirebirdGrammar.php
index 221a5f7..2e209e6 100755
--- a/src/Schema/Grammars/FirebirdGrammar.php
+++ b/src/Schema/Grammars/FirebirdGrammar.php
@@ -181,7 +181,7 @@ class FirebirdGrammar extends Grammar
$index = $this->wrap(substr($command->index, 0, 31));
$columns = $this->columnize($command->columns);
-
+// need to skip if the columns are already part of the primary key
return "ALTER TABLE {$table} ADD CONSTRAINT {$index} UNIQUE ({$columns})";
}