mirror of
https://github.com/yiisoft/yii2.git
synced 2025-08-26 06:15:19 +08:00
Changed name to append(), fixed phpdoc, added changelog
This commit is contained in:
@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user