Skip to content
Snippets Groups Projects
Commit 2b1f39cd authored by Thomas Müller's avatar Thomas Müller
Browse files

Merge pull request #14308 from owncloud/fix-14247

Add mapping for a broken varchar type.
parents b9c39b60 090db867
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