Open Anisi opened 5 years ago
I believe it's a problem with Doctrine's DBAL library which this package depends on. An easy work-around is to add the following code to your AppServiceProvider's register method:
if ($this->app->environment() == 'local') {
DB::getDoctrineSchemaManager()
->getDatabasePlatform()
->registerDoctrineTypeMapping('enum', 'string');
}
Hello It doesn't recognise enum fields!
Unknown database type enum requested, Doctrine\DBAL\Platforms\MySQL57Platform may not support it