diff options
author | Łukasz Buśko <busko.lukasz@pm.me> | 2019-11-20 15:18:30 +0300 |
---|---|---|
committer | Łukasz Buśko <busko.lukasz@pm.me> | 2019-11-20 16:01:46 +0300 |
commit | 23084558a6efdd47bc04a15ae62914f8209b63e0 (patch) | |
tree | f593dc1ec7e0c9578dde5329c9b572ed9edfbacb /core/Command | |
parent | d625d8bd1e07034816642937ed5d5fe3dc40d659 (diff) |
Incorrect integer value: '' for column 'password_invalid' while migrating from pg to mysql #14920
Signed-off-by: Łukasz Buśko <busko.lukasz@pm.me>
Diffstat (limited to 'core/Command')
-rw-r--r-- | core/Command/Db/ConvertType.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/core/Command/Db/ConvertType.php b/core/Command/Db/ConvertType.php index bd26c5e5154..631972150eb 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; } |