You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/app/Models/Traits/HasEnumFields.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -24,7 +24,7 @@ public static function getPossibleEnumValues($field_name)
24
24
try {
25
25
$type = DB::connection($connectionName)->select(DB::raw('SHOW COLUMNS FROM `'.$table_prefix.$instance->getTable().'` WHERE Field = "'.$field_name.'"'))[0]->Type;
26
26
} catch (\Exception$e) {
27
-
abort(500, 'Enum field type is not supported - it only works on MySQL.');
27
+
abort(500, 'Enum field type is not supported - it only works on MySQL. Please use select_from_array instead.');
0 commit comments