Make ends_on and last_used_on columns in recurrings table nullable
MODIFY
database/migrations/2018_09_13_112448_create_recurrings_table.php
database/migrations/2018_09_13_112448_create_recurrings_table.php
@@ -12,8 +12,8 @@ class CreateRecurringsTable extends Migration {
$table->string('type');
$table->string('day');
$table->date('starts_on');
- $table->date('ends_on');
- $table->date('last_used_on');
+ $table->date('ends_on')->nullable();
+ $table->date('last_used_on')->nullable();
$table->integer('tag_id')->unsigned()->nullable();
$table->string('description');
$table->integer('amount');

Make ends_on and last_used_on columns in recurrings table nullable