mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-18 14:23:44 +02:00
Always include the tasks with a schedule
This commit is contained in:
@@ -40,6 +40,13 @@ class Schedule extends Validable
|
||||
*/
|
||||
protected $table = 'schedules';
|
||||
|
||||
/**
|
||||
* Always return the tasks associated with this schedule.
|
||||
*
|
||||
* @var array
|
||||
*/
|
||||
protected $with = ['tasks'];
|
||||
|
||||
/**
|
||||
* Mass assignable attributes on this model.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user