increments('id'); $table->timestamps(); $table->integer('user_id')->unsigned(); $table->date('startdate'); $table->date('enddate')->nullable(); $table->boolean('active'); $table->boolean('notnow')->default(0); $table->integer('remindersable_id')->unsigned()->nullable(); $table->string('remindersable_type')->nullable(); // connect reminders to users $table->foreign('user_id')->references('id')->on('users')->onDelete('cascade'); } ); } }