Skip to content

Commit ddd19a2

Browse files
committed
AlterTable: fixed
1 parent c47c122 commit ddd19a2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Statements/AlterTable.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ public function setOption($name, $value)
140140
*/
141141
public function toSql(IDriver $driver)
142142
{
143-
if (empty($this->statements)) {
143+
if (empty($this->statements) && empty($this->options) && !isset($this->comment)) {
144144
return '';
145145
}
146146

0 commit comments

Comments
 (0)