Skip to content

Commit

Permalink
Improves the definition of the column builder.
Browse files Browse the repository at this point in the history
  • Loading branch information
terabytesoftw committed Apr 7, 2023
1 parent 85b6ab2 commit d1c2bd8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Column.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ protected function buildCommentString(): string
return ' COMMENT ' . (string) (new Quoter('`', '`'))->quoteValue($this->getComment());
}

public function asString(): string
public function buildString(): string
{
$format = match ($this->getTypeCategory()) {
self::TYPE_CATEGORY_PK => '{type}{length}{comment}{check}{append}',
Expand Down

0 comments on commit d1c2bd8

Please sign in to comment.