Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
hafezdivandari committed Jul 15, 2024
1 parent 6e126f8 commit d83bcc6
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/Schema/Grammars/GrammarTable.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,7 @@ public function compileAdd(Blueprint $blueprint, Fluent $command): array
$column['default'] = $column['initial'];
}

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

return array_reverse($sql);
}
Expand Down

0 comments on commit d83bcc6

Please sign in to comment.