INA-5 | use soft deletes

This commit is contained in:
Nikola Cirkovic 2022-05-25 23:17:23 +02:00
parent 05a1d0c0e6
commit 5b744a9123
2 changed files with 2 additions and 0 deletions

View File

@ -30,6 +30,7 @@ class CreateScheduledJobsTable extends Migration
$table->foreignIdFor(\App\Models\Company::class);
$table->foreignIdFor(\App\Models\Scheduler::class);
$table->timestamps();
$table->softDeletes();
});
}

View File

@ -31,6 +31,7 @@ class CreateSchedulersTable extends Migration
$table->timestamp('scheduled_run');
$table->foreignIdFor(\App\Models\Company::class);
$table->timestamps();
$table->softDeletes();
});
}