Merge pull request #11196 from owncloud/sqlite-migration-smallint-master
adding 'smallint unsigned' to type mapping for sqlite
This commit is contained in:
commit
69726d951e
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue