aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2015-02-18 10:05:33 +0100
committerThomas Müller <thomas.mueller@tmit.eu>2015-02-18 10:05:33 +0100
commit2b1f39cd6be9ca0ea2a32693ec5f49cb15ad68d1 (patch)
tree10dfa9ab93e90abfa7160384c4cbbb06b43910d6 /lib
parentb9c39b60ec95f4e3acb33a71baedaf9dda3e8659 (diff)
parent090db867d5499d92c4aad07ac604a07c47848e06 (diff)
downloadnextcloud-server-2b1f39cd6be9ca0ea2a32693ec5f49cb15ad68d1.tar.gz
nextcloud-server-2b1f39cd6be9ca0ea2a32693ec5f49cb15ad68d1.zip
Merge pull request #14308 from owncloud/fix-14247
Add mapping for a broken varchar type.
Diffstat (limited to 'lib')
-rw-r--r--lib/private/db/sqlitemigrator.php1
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);
}