Merge pull request #18116 from nextcloud/backport/18027/stable16

[stable16] Incorrect integer value: '' for column 'password_invalid' while migra…
This commit is contained in:
Roeland Jago Douma 2019-11-27 08:28:25 +01:00 committed by GitHub
commit dc2bec7c98
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;
}