Merge pull request #18027 from str0g/fix/14920/convert_type_boolean

Incorrect integer value: '' for column 'password_invalid' while migra…
This commit is contained in:
Roeland Jago Douma 2019-11-25 11:37:45 +01:00 committed by GitHub
commit 20ec763337
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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;
}