Able to add scheduled backups through the UI
This commit is contained in:
@@ -11,7 +11,7 @@ return new class extends Migration {
|
||||
$table->id();
|
||||
$table->string('uuid')->unique();
|
||||
$table->boolean('enabled')->default(true);
|
||||
$table->boolean('keep_locally')->default(true);
|
||||
$table->boolean('keep_locally')->default(false);
|
||||
$table->string('save_s3')->default(true);
|
||||
$table->string('frequency');
|
||||
$table->morphs('database');
|
||||
|
||||
@@ -15,6 +15,7 @@ class ScheduledDatabaseBackupSeeder extends Seeder
|
||||
ScheduledDatabaseBackup::create([
|
||||
'enabled' => true,
|
||||
'frequency' => '* * * * *',
|
||||
'keep_locally' => true,
|
||||
'database_id' => 1,
|
||||
'database_type' => 'App\Models\StandalonePostgresql',
|
||||
'team_id' => 0,
|
||||
|
||||
Reference in New Issue
Block a user