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
|
||||
{
|
||||
ScheduledDatabaseBackupExecution::create([
|
||||
'status' => 'success',
|
||||
'message' => 'Backup created successfully.',
|
||||
'size' => '10243467789556',
|
||||
'scheduled_database_backup_id' => 1,
|
||||
]);
|
||||
ScheduledDatabaseBackupExecution::create([
|
||||
'status' => 'failed',
|
||||
'message' => 'Backup failed.',
|
||||
'size' => '10243456',
|
||||
'scheduled_database_backup_id' => 1,
|
||||
]);
|
||||
// ScheduledDatabaseBackupExecution::create([
|
||||
// 'status' => 'success',
|
||||
// 'message' => 'Backup created successfully.',
|
||||
// 'size' => '10243467789556',
|
||||
// 'scheduled_database_backup_id' => 1,
|
||||
// ]);
|
||||
// ScheduledDatabaseBackupExecution::create([
|
||||
// 'status' => 'failed',
|
||||
// 'message' => 'Backup failed.',
|
||||
// 'size' => '10243456',
|
||||
// 'scheduled_database_backup_id' => 1,
|
||||
// ]);
|
||||
}
|
||||
}
|
||||
|
@ -12,22 +12,22 @@ class ScheduledDatabaseBackupSeeder extends Seeder
|
||||
*/
|
||||
public function run(): void
|
||||
{
|
||||
ScheduledDatabaseBackup::create([
|
||||
'enabled' => true,
|
||||
'frequency' => '* * * * *',
|
||||
'number_of_backups_locally' => 2,
|
||||
'database_id' => 1,
|
||||
'database_type' => 'App\Models\StandalonePostgresql',
|
||||
's3_storage_id' => 1,
|
||||
'team_id' => 0,
|
||||
]);
|
||||
ScheduledDatabaseBackup::create([
|
||||
'enabled' => true,
|
||||
'frequency' => '* * * * *',
|
||||
'number_of_backups_locally' => 3,
|
||||
'database_id' => 1,
|
||||
'database_type' => 'App\Models\StandalonePostgresql',
|
||||
'team_id' => 0,
|
||||
]);
|
||||
// ScheduledDatabaseBackup::create([
|
||||
// 'enabled' => true,
|
||||
// 'frequency' => '* * * * *',
|
||||
// 'number_of_backups_locally' => 2,
|
||||
// 'database_id' => 1,
|
||||
// 'database_type' => 'App\Models\StandalonePostgresql',
|
||||
// 's3_storage_id' => 1,
|
||||
// 'team_id' => 0,
|
||||
// ]);
|
||||
// ScheduledDatabaseBackup::create([
|
||||
// 'enabled' => true,
|
||||
// 'frequency' => '* * * * *',
|
||||
// 'number_of_backups_locally' => 3,
|
||||
// 'database_id' => 1,
|
||||
// 'database_type' => 'App\Models\StandalonePostgresql',
|
||||
// 'team_id' => 0,
|
||||
// ]);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user