Add support for bool type in ScalarModelDescriber

This commit is contained in:
Baptiste Lafontaine 2017-01-20 09:27:10 +01:00
parent 69f0a6fd35
commit e613ee48c6

View file

@ -21,6 +21,7 @@ class ScalarModelDescriber implements ModelDescriberInterface
Type::BUILTIN_TYPE_INT => 'integer',
Type::BUILTIN_TYPE_FLOAT => 'float',
Type::BUILTIN_TYPE_STRING => 'string',
Type::BUILTIN_TYPE_BOOL => 'boolean'
];
public function describe(Model $model, Schema $schema)