aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/db
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2014-09-20 20:06:44 +0200
committerThomas Müller <thomas.mueller@tmit.eu>2014-09-20 20:06:44 +0200
commit7537d405e3691993dbd3a6938fdb63a9c4858129 (patch)
tree6512e44ecd05fa304d2908f31b170d9b7008d05e /lib/private/db
parente55c4bb807c7883758fca92f9421c0c20adf9d2b (diff)
downloadnextcloud-server-7537d405e3691993dbd3a6938fdb63a9c4858129.tar.gz
nextcloud-server-7537d405e3691993dbd3a6938fdb63a9c4858129.zip
adding 'smallint unsigned' to type mapping for sqlite
Diffstat (limited to 'lib/private/db')
-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 94b421c5562..18e9d19d5ee 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);
}