Begin refactoring Tasks to be apart of the Scheduler system

This commit is contained in:
Dane Everitt
2017-09-12 23:45:19 -05:00
parent 07965d0ce7
commit 2ac90b50f2
28 changed files with 902 additions and 468 deletions

View File

@@ -21,8 +21,8 @@ class CreateSchedulesTable extends Migration
$table->string('cron_minute');
$table->boolean('is_active');
$table->boolean('is_processing');
$table->timestamp('last_run_at');
$table->timestamp('next_run_at');
$table->timestamp('last_run_at')->nullable();
$table->timestamp('next_run_at')->nullable();
$table->timestamps();
$table->foreign('server_id')->references('id')->on('servers')->onDelete('cascade');