mirror of
https://github.com/ershisan99/coolify.git
synced 2025-12-17 04:59:30 +00:00
init: scheduled backups
This commit is contained in:
15
app/Models/ScheduledDatabaseBackup.php
Normal file
15
app/Models/ScheduledDatabaseBackup.php
Normal file
@@ -0,0 +1,15 @@
|
||||
<?php
|
||||
|
||||
namespace App\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class ScheduledDatabaseBackup extends Model
|
||||
{
|
||||
protected $guarded = [];
|
||||
|
||||
public function database()
|
||||
{
|
||||
return $this->morphTo();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user