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:
authorŁukasz Buśko <busko.lukasz@pm.me>2019-11-20 15:18:30 +0300
committerŁukasz Buśko <busko.lukasz@pm.me>2019-11-20 16:01:46 +0300
commit23084558a6efdd47bc04a15ae62914f8209b63e0 (patch)
treef593dc1ec7e0c9578dde5329c9b572ed9edfbacb /core/Command
parentd625d8bd1e07034816642937ed5d5fe3dc40d659 (diff)
Incorrect integer value: '' for column 'password_invalid' while migrating from pg to mysql #14920
Signed-off-by: Łukasz Buśko <busko.lukasz@pm.me>
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;
}