Test performance

This commit is contained in:
Lagacé Mathieu
2020-01-24 10:33:16 -05:00
parent ef6f403e1b
commit 03cf1c5493
48 changed files with 4699 additions and 1727 deletions

View File

@@ -6,6 +6,11 @@ use Illuminate\Database\Eloquent\Model;
class Event extends Model
{
protected $casts = [
'schedule' => 'array',
'msg' => 'array'
];
public function bookings()
{
return $this->morphMany('App\Booking', 'bookable');