Renamed category constants

This commit is contained in:
Chris Harris
2016-02-21 02:06:41 -08:00
parent c50ba2e800
commit f52f60db0f
6 changed files with 36 additions and 41 deletions

View File

@ -47,10 +47,10 @@ class ColumnSchemaBuilder extends AbstractColumnSchemaBuilder
public function __toString()
{
switch ($this->getTypeCategory()) {
case self::CAT_PK:
case self::CATEGORY_PK:
$format = '{type}{length}{pos}';
break;
case self::CAT_NUMERIC:
case self::CATEGORY_NUMERIC:
$format = '{type}{length}{unsigned}{notnull}{unique}{default}{check}{pos}';
break;
default: