Skip to content

Commit d83bcc6

Browse files
cleanup
1 parent 6e126f8 commit d83bcc6

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/Schema/Grammars/GrammarTable.php

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,7 @@ public function compileAdd(Blueprint $blueprint, Fluent $command): array
4040
$column['default'] = $column['initial'];
4141
}
4242

43-
$sql[] = sprintf('alter table %s add column %s',
44-
$this->wrapTable($blueprint),
45-
$this->getColumn($blueprint, $command->column)
46-
);
43+
$sql[] = parent::compileAdd($blueprint, $command);
4744

4845
return array_reverse($sql);
4946
}

0 commit comments

Comments
 (0)