diff options
author | Roeland Jago Douma <rullzer@users.noreply.github.com> | 2019-11-25 11:37:45 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-11-25 11:37:45 +0100 |
commit | 20ec763337428f3a0e7c9e34e0246c1f5fb3a838 (patch) | |
tree | e4ada1f35e54f63cc47eff0b2af21e12c76e563b /core/Command | |
parent | b451488471e0becf7b7fe04f5f81f7ebe4cf2455 (diff) | |
parent | 23084558a6efdd47bc04a15ae62914f8209b63e0 (diff) | |
download | nextcloud-server-20ec763337428f3a0e7c9e34e0246c1f5fb3a838.tar.gz nextcloud-server-20ec763337428f3a0e7c9e34e0246c1f5fb3a838.zip |
Merge pull request #18027 from str0g/fix/14920/convert_type_boolean
Incorrect integer value: '' for column 'password_invalid' while migra…
Diffstat (limited to 'core/Command')
-rw-r--r-- | core/Command/Db/ConvertType.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/core/Command/Db/ConvertType.php b/core/Command/Db/ConvertType.php index bd26c5e5154..631972150eb 100644 --- a/core/Command/Db/ConvertType.php +++ b/core/Command/Db/ConvertType.php @@ -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; } |