[Pkg-owncloud-commits] [owncloud] 40/95: Add mapping for a broken varchar type. Fixes #14247

David Prévot taffit at moszumanska.debian.org
Wed Mar 11 15:49:47 UTC 2015


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to annotated tag v8.0.1
in repository owncloud.

commit cd75ac2e2c73c7ffeb84743828683a9a3e2e09c5
Author: Victor Dubiniuk <victor.dubiniuk at gmail.com>
Date:   Tue Feb 17 23:22:57 2015 +0300

    Add mapping for a broken varchar type. Fixes #14247
---
 lib/private/db/sqlitemigrator.php | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lib/private/db/sqlitemigrator.php b/lib/private/db/sqlitemigrator.php
index 42b6563..739bb24 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);
 	}

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git



More information about the Pkg-owncloud-commits mailing list