From e613ee48c643d239a1effbb58bcb0427bceaa0c2 Mon Sep 17 00:00:00 2001 From: Baptiste Lafontaine Date: Fri, 20 Jan 2017 09:27:10 +0100 Subject: [PATCH] Add support for bool type in ScalarModelDescriber --- ModelDescriber/ScalarModelDescriber.php | 1 + 1 file changed, 1 insertion(+) diff --git a/ModelDescriber/ScalarModelDescriber.php b/ModelDescriber/ScalarModelDescriber.php index bf2c3c5..4581dcf 100644 --- a/ModelDescriber/ScalarModelDescriber.php +++ b/ModelDescriber/ScalarModelDescriber.php @@ -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)