diff --git a/src/FieldFactory.php b/src/FieldFactory.php index 1148c29..87317dc 100644 --- a/src/FieldFactory.php +++ b/src/FieldFactory.php @@ -12,6 +12,7 @@ class FieldFactory implements FieldFactoryInterface protected $defaultType = 'SimpleCrud\\Fields\\Field'; protected $smartTypes = [ 'Decimal' => ['float'], + 'Integer' => ['tinyint', 'smallint', 'mediumint', 'bigint', 'year'], ]; protected $smartNames = [ 'Boolean' => ['active'],