Merge pull request #11196 from owncloud/sqlite-migration-smallint-master

adding 'smallint unsigned' to type mapping for sqlite
This commit is contained in:
Morris Jobke 2014-09-21 11:13:58 +02:00
commit 69726d951e

View file

@ -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);
}