diff options
author | Łukasz Buśko <busko.lukasz@pm.me> | 2019-11-20 13:18:30 +0100 |
---|---|---|
committer | Łukasz Buśko <busko.lukasz@pm.me> | 2019-11-20 14:01:46 +0100 |
commit | 23084558a6efdd47bc04a15ae62914f8209b63e0 (patch) | |
tree | f593dc1ec7e0c9578dde5329c9b572ed9edfbacb /core/Command/Db | |
parent | d625d8bd1e07034816642937ed5d5fe3dc40d659 (diff) | |
download | nextcloud-server-23084558a6efdd47bc04a15ae62914f8209b63e0.tar.gz nextcloud-server-23084558a6efdd47bc04a15ae62914f8209b63e0.zip |
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/Db')
-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; } |