morphTo(); } public function latest_log(): HasOne { return $this->hasOne(ScheduledDatabaseBackupExecution::class)->latest(); } public function executions(): HasMany { return $this->hasMany(ScheduledDatabaseBackupExecution::class); } }