increments('id'); $table->integer('type_id')->nullable(); $table->integer('parent_id')->nullable(); $table->string('parent_type', 50)->nullable(); $table->string('name', 200)->nullable(); $table->string('slug', 200)->nullable(); $table->dateTime('end_date')->nullable(); $table->integer('duration_id')->nullable(); $table->integer('status_id')->nullable(); $table->integer('assigned_id')->nullable(); $table->text('reminder')->nullable(); $table->integer('user_id')->nullable(); $table->string('user_type', 50)->nullable(); $table->dateTime('start_date')->nullable(); $table->string('start_time', 50)->nullable(); $table->string('type', 50)->nullable(); $table->softDeletes(); $table->nullableTimestamps(); }); } /* * Reverse the migrations. * * @return void */ public function down() { Schema::drop('calendars'); } }