summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorRoeland Jago Douma <rullzer@users.noreply.github.com>2019-11-27 08:28:16 +0100
committerGitHub <noreply@github.com>2019-11-27 08:28:16 +0100
commit47ddfbac8d061078b7814ccea56d71ac1bf583d0 (patch)
treed8617b3f66ae5baafb26370824ea662229a65bc1 /core
parent459cc918f556ab42842d5c769046855c1af0cc69 (diff)
parentcd9ccb47c9af59aa45c9eda185f38ecf8a82a993 (diff)
downloadnextcloud-server-47ddfbac8d061078b7814ccea56d71ac1bf583d0.tar.gz
nextcloud-server-47ddfbac8d061078b7814ccea56d71ac1bf583d0.zip
Merge pull request #18117 from nextcloud/backport/18027/stable15
[stable15] Incorrect integer value: '' for column 'password_invalid' while migra…
Diffstat (limited to 'core')
-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;
}