Merge pull request #18100 from nextcloud/backport/18027/stable17

[stable17] Incorrect integer value: '' for column 'password_invalid' while migra…
This commit is contained in:
Roeland Jago Douma 2019-11-26 14:39:38 +01:00 committed by GitHub
commit f6aa0d5f4f
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;
}