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

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