We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 037d2d9 commit c73d64cCopy full SHA for c73d64c
app/Models/CustomField.php
@@ -149,11 +149,6 @@ public static function boot()
149
return true;
150
}
151
152
- // This is just a dumb thing we have to include because Laraval/Doctrine doesn't
153
- // play well with enums or a table that EVER had enums. :(
154
- $platform = Schema::getConnection()->getDoctrineSchemaManager()->getDatabasePlatform();
155
- $platform->registerDoctrineTypeMapping('enum', 'string');
156
-
157
// Rename the field if the name has changed
158
Schema::table(self::$table_name, function ($table) use ($custom_field) {
159
$table->renameColumn($custom_field->convertUnicodeDbSlug($custom_field->getOriginal('name')), $custom_field->convertUnicodeDbSlug());
0 commit comments