Skip to content

Commit 72de70d

Browse files
author
Paweł Brzozowski
committed
if merged
1 parent 081bd55 commit 72de70d

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/table/TableColumn.php

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -187,10 +187,8 @@ public function isColumnAppendPK($schema)
187187
if (stripos($this->append, 'IDENTITY') !== false && stripos($this->append, 'PRIMARY KEY') !== false) {
188188
return true;
189189
}
190-
} else {
191-
if (stripos($this->append, 'PRIMARY KEY') !== false) {
192-
return true;
193-
}
190+
} elseif (stripos($this->append, 'PRIMARY KEY') !== false) {
191+
return true;
194192
}
195193
return false;
196194
}

0 commit comments

Comments
 (0)