diff --git a/src/Column.php b/src/Column.php index 823acc6f..8ef2ae87 100644 --- a/src/Column.php +++ b/src/Column.php @@ -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}',