]> source.dussan.org Git - nextcloud-server.git/commitdiff
Incorrect integer value: '' for column 'password_invalid' while migrating from pg... 18116/head
authorŁukasz Buśko <busko.lukasz@pm.me>
Wed, 20 Nov 2019 12:18:30 +0000 (13:18 +0100)
committerBackportbot <backportbot-noreply@rullzer.com>
Tue, 26 Nov 2019 13:39:24 +0000 (13:39 +0000)
Signed-off-by: Łukasz Buśko <busko.lukasz@pm.me>
core/Command/Db/ConvertType.php

index bd26c5e51543dbb1d171acd04d01afc76f659773..631972150eb7df793382c1aa568a8f8bd2530020 100644 (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;
                }