Incorrect integer value: '' for column 'password_invalid' while migrating from pg to mysql #14920

Signed-off-by: Łukasz Buśko <busko.lukasz@pm.me>
This commit is contained in:
Łukasz Buśko 2019-11-20 13:18:30 +01:00 committed by Backportbot
parent 6a04dbda58
commit 4c8ef504f8
1 changed files with 3 additions and 0 deletions

View File

@ -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;
}