From 7fae44c4c73b1881aef66d09d9849949c44f945f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Bu=C5=9Bko?= Date: Wed, 20 Nov 2019 13:18:30 +0100 Subject: [PATCH] Incorrect integer value: '' for column 'password_invalid' while migrating from pg to mysql #14920 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Łukasz Buśko --- core/Command/Db/ConvertType.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/core/Command/Db/ConvertType.php b/core/Command/Db/ConvertType.php index bd26c5e515..631972150e 100644 --- a/core/Command/Db/ConvertType.php +++ b/core/Command/Db/ConvertType.php @@ -383,6 +383,9 @@ class ConvertType extends Command implements CompletionAwareInterface { case Type::TEXT: $this->columnTypes[$tableName][$columnName] = IQueryBuilder::PARAM_LOB; break; + case Type::BOOLEAN: + $this->columnTypes[$tableName][$columnName] = IQueryBuilder::PARAM_BOOL; + break; default: $this->columnTypes[$tableName][$columnName] = false; }