After last update! Utility Module cannot be updated!

Laraship QuestionsCategory: TechnicalAfter last update! Utility Module cannot be updated!
mostafa922 asked 6 years ago

Hello Brothers,

After updating all modules and everything! I got a problem with update Utility Module! Its saying " Unknown database type enum requested, DoctrineDBALPlatformsMySqlPlatform may not support it. "

I attached you a screenshot and please I need your help!

Note: " I'm using Laraship Form Builder & CMS with extended license"

Thanks

Attachments
2 Answers
laraship Staff answered 6 years ago

Hello,

Can you run composer update again ?

laraship Staff answered 6 years ago

Hello,

We're still not sure about you case, however can you try at Corals/modules/Utility/update-batches/1.0.8.php before line #21

if (!\Schema::hasColumn('utility_ratings', 'status')) {

Add

$platform = Schema::getConnection()->getDoctrineSchemaManager()->getDatabasePlatform();

$platform->registerDoctrineTypeMapping('enum', 'string');

and try updating again