Skip to content
Snippets Groups Projects
Commit 090db867 authored by Victor Dubiniuk's avatar Victor Dubiniuk
Browse files

Add mapping for a broken varchar type. Fixes #14247

parent ac13cf04
No related branches found
No related tags found
No related merge requests found
...@@ -58,6 +58,7 @@ class SQLiteMigrator extends Migrator { ...@@ -58,6 +58,7 @@ class SQLiteMigrator extends Migrator {
$platform = $connection->getDatabasePlatform(); $platform = $connection->getDatabasePlatform();
$platform->registerDoctrineTypeMapping('tinyint unsigned', 'integer'); $platform->registerDoctrineTypeMapping('tinyint unsigned', 'integer');
$platform->registerDoctrineTypeMapping('smallint unsigned', 'integer'); $platform->registerDoctrineTypeMapping('smallint unsigned', 'integer');
$platform->registerDoctrineTypeMapping('varchar ', 'string');
return parent::getDiff($targetSchema, $connection); return parent::getDiff($targetSchema, $connection);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment