adding 'smallint unsigned' to type mapping for sqlite
This commit is contained in:
parent
e55c4bb807
commit
7537d405e3
|
@ -71,6 +71,7 @@ class SQLiteMigrator extends Migrator {
|
||||||
protected function getDiff(Schema $targetSchema, \Doctrine\DBAL\Connection $connection) {
|
protected function getDiff(Schema $targetSchema, \Doctrine\DBAL\Connection $connection) {
|
||||||
$platform = $connection->getDatabasePlatform();
|
$platform = $connection->getDatabasePlatform();
|
||||||
$platform->registerDoctrineTypeMapping('tinyint unsigned', 'integer');
|
$platform->registerDoctrineTypeMapping('tinyint unsigned', 'integer');
|
||||||
|
$platform->registerDoctrineTypeMapping('smallint unsigned', 'integer');
|
||||||
|
|
||||||
return parent::getDiff($targetSchema, $connection);
|
return parent::getDiff($targetSchema, $connection);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue