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
parent d625d8bd1e
commit 23084558a6
1 changed files with 3 additions and 0 deletions

View File

@ -383,6 +383,9 @@ class ConvertType extends Command implements CompletionAwareInterface {
case Type::TEXT: case Type::TEXT:
$this->columnTypes[$tableName][$columnName] = IQueryBuilder::PARAM_LOB; $this->columnTypes[$tableName][$columnName] = IQueryBuilder::PARAM_LOB;
break; break;
case Type::BOOLEAN:
$this->columnTypes[$tableName][$columnName] = IQueryBuilder::PARAM_BOOL;
break;
default: default:
$this->columnTypes[$tableName][$columnName] = false; $this->columnTypes[$tableName][$columnName] = false;
} }