[Pkg-owncloud-commits] [owncloud] 93/258: adding 'smallint unsigned' to type mapping for sqlite
David Prévot
taffit at moszumanska.debian.org
Sat Oct 11 17:22:24 UTC 2014
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch master
in repository owncloud.
commit 6c544b95e89ba34ca1b58195a13b022df0e9b65f
Author: Thomas Müller <thomas.mueller at tmit.eu>
Date: Sat Sep 20 20:06:44 2014 +0200
adding 'smallint unsigned' to type mapping for sqlite
---
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 94b421c..18e9d19 100644
--- a/lib/private/db/sqlitemigrator.php
+++ b/lib/private/db/sqlitemigrator.php
@@ -71,6 +71,7 @@ class SQLiteMigrator extends Migrator {
protected function getDiff(Schema $targetSchema, \Doctrine\DBAL\Connection $connection) {
$platform = $connection->getDatabasePlatform();
$platform->registerDoctrineTypeMapping('tinyint unsigned', 'integer');
+ $platform->registerDoctrineTypeMapping('smallint unsigned', 'integer');
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