remove seeders in dev
This commit is contained in:
parent
bed959f1cd
commit
2414ddd360
@ -12,17 +12,17 @@ class ScheduledDatabaseBackupExecutionSeeder extends Seeder
|
|||||||
*/
|
*/
|
||||||
public function run(): void
|
public function run(): void
|
||||||
{
|
{
|
||||||
ScheduledDatabaseBackupExecution::create([
|
// ScheduledDatabaseBackupExecution::create([
|
||||||
'status' => 'success',
|
// 'status' => 'success',
|
||||||
'message' => 'Backup created successfully.',
|
// 'message' => 'Backup created successfully.',
|
||||||
'size' => '10243467789556',
|
// 'size' => '10243467789556',
|
||||||
'scheduled_database_backup_id' => 1,
|
// 'scheduled_database_backup_id' => 1,
|
||||||
]);
|
// ]);
|
||||||
ScheduledDatabaseBackupExecution::create([
|
// ScheduledDatabaseBackupExecution::create([
|
||||||
'status' => 'failed',
|
// 'status' => 'failed',
|
||||||
'message' => 'Backup failed.',
|
// 'message' => 'Backup failed.',
|
||||||
'size' => '10243456',
|
// 'size' => '10243456',
|
||||||
'scheduled_database_backup_id' => 1,
|
// 'scheduled_database_backup_id' => 1,
|
||||||
]);
|
// ]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -12,22 +12,22 @@ class ScheduledDatabaseBackupSeeder extends Seeder
|
|||||||
*/
|
*/
|
||||||
public function run(): void
|
public function run(): void
|
||||||
{
|
{
|
||||||
ScheduledDatabaseBackup::create([
|
// ScheduledDatabaseBackup::create([
|
||||||
'enabled' => true,
|
// 'enabled' => true,
|
||||||
'frequency' => '* * * * *',
|
// 'frequency' => '* * * * *',
|
||||||
'number_of_backups_locally' => 2,
|
// 'number_of_backups_locally' => 2,
|
||||||
'database_id' => 1,
|
// 'database_id' => 1,
|
||||||
'database_type' => 'App\Models\StandalonePostgresql',
|
// 'database_type' => 'App\Models\StandalonePostgresql',
|
||||||
's3_storage_id' => 1,
|
// 's3_storage_id' => 1,
|
||||||
'team_id' => 0,
|
// 'team_id' => 0,
|
||||||
]);
|
// ]);
|
||||||
ScheduledDatabaseBackup::create([
|
// ScheduledDatabaseBackup::create([
|
||||||
'enabled' => true,
|
// 'enabled' => true,
|
||||||
'frequency' => '* * * * *',
|
// 'frequency' => '* * * * *',
|
||||||
'number_of_backups_locally' => 3,
|
// 'number_of_backups_locally' => 3,
|
||||||
'database_id' => 1,
|
// 'database_id' => 1,
|
||||||
'database_type' => 'App\Models\StandalonePostgresql',
|
// 'database_type' => 'App\Models\StandalonePostgresql',
|
||||||
'team_id' => 0,
|
// 'team_id' => 0,
|
||||||
]);
|
// ]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user