Changed name to append(), fixed phpdoc, added changelog

This commit is contained in:
Alexander Makarov
2016-05-13 15:56:33 +03:00
parent 66eabda770
commit 27866bf9d6
5 changed files with 25 additions and 27 deletions

View File

@ -58,13 +58,13 @@ class ColumnSchemaBuilder extends AbstractColumnSchemaBuilder
{
switch ($this->getTypeCategory()) {
case self::CATEGORY_PK:
$format = '{type}{length}{check}{comment}{pos}{plus}';
$format = '{type}{length}{check}{comment}{pos}{append}';
break;
case self::CATEGORY_NUMERIC:
$format = '{type}{length}{unsigned}{notnull}{unique}{default}{check}{comment}{pos}{plus}';
$format = '{type}{length}{unsigned}{notnull}{unique}{default}{check}{comment}{pos}{append}';
break;
default:
$format = '{type}{length}{notnull}{unique}{default}{check}{comment}{pos}{plus}';
$format = '{type}{length}{notnull}{unique}{default}{check}{comment}{pos}{append}';
}
return $this->buildCompleteString($format);
}