Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoeland Jago Douma <rullzer@users.noreply.github.com>2019-11-25 13:37:45 +0300
committerGitHub <noreply@github.com>2019-11-25 13:37:45 +0300
commit20ec763337428f3a0e7c9e34e0246c1f5fb3a838 (patch)
treee4ada1f35e54f63cc47eff0b2af21e12c76e563b /core/Command
parentb451488471e0becf7b7fe04f5f81f7ebe4cf2455 (diff)
parent23084558a6efdd47bc04a15ae62914f8209b63e0 (diff)
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.php3
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;
}