@php
$hostTypeEnum = DB::select("SHOW COLUMNS FROM session_lessons WHERE Field = 'host_type'")[0]
->Type;
preg_match('/^enum\((.*)\)$/', $hostTypeEnum, $matches);
$hostTypes = array_map(fn($value) => trim($value, "'"), explode(',', $matches[1]));
@endphp