Merge pull request #951 from magnetik/model-bool

Add support for bool type in ScalarModelDescriber
This commit is contained in:
Guilhem N 2017-01-20 12:00:34 +01:00 committed by GitHub
commit fcf0b104c0

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)