diff options
author | Victor Dubiniuk <victor.dubiniuk@gmail.com> | 2015-02-17 23:22:57 +0300 |
---|---|---|
committer | Victor Dubiniuk <victor.dubiniuk@gmail.com> | 2015-02-17 23:22:57 +0300 |
commit | 090db867d5499d92c4aad07ac604a07c47848e06 (patch) | |
tree | 1eabc89f2bf217f89add2809a701d492d405fd21 /lib | |
parent | ac13cf04ba83d42b0bf6c2955e08de10634095c2 (diff) | |
download | nextcloud-server-090db867d5499d92c4aad07ac604a07c47848e06.tar.gz nextcloud-server-090db867d5499d92c4aad07ac604a07c47848e06.zip |
Add mapping for a broken varchar type. Fixes #14247
Diffstat (limited to 'lib')
-rw-r--r-- | lib/private/db/sqlitemigrator.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/private/db/sqlitemigrator.php b/lib/private/db/sqlitemigrator.php index 42b65634645..739bb242810 100644 --- a/lib/private/db/sqlitemigrator.php +++ b/lib/private/db/sqlitemigrator.php @@ -58,6 +58,7 @@ class SQLiteMigrator extends Migrator { $platform = $connection->getDatabasePlatform(); $platform->registerDoctrineTypeMapping('tinyint unsigned', 'integer'); $platform->registerDoctrineTypeMapping('smallint unsigned', 'integer'); + $platform->registerDoctrineTypeMapping('varchar ', 'string'); return parent::getDiff($targetSchema, $connection); } |