diff --git a/src/Database/Migrator.php b/src/Database/Migrator.php index 2c1272fc0..8d411887c 100644 --- a/src/Database/Migrator.php +++ b/src/Database/Migrator.php @@ -63,6 +63,9 @@ class Migrator $this->repository = $repository; $this->schemaBuilder = $connection->getSchemaBuilder(); + + // Workaround for https://github.com/laravel/framework/issues/1186 + $connection->getDoctrineSchemaManager()->getDatabasePlatform()->registerDoctrineTypeMapping('enum', 'string'); } /**