increments('id'); $table->string('name')->nullable(); $table->boolean('is_public')->nullable(); $table->nullableMorphs('owned_by'); $table->string('default_view')->nullable(); $table->integer('first_day')->nullable(); $table->string('day_start_at')->nullable(); $table->timestamps(); $table->softDeletes(); }); } /** * Reverse the migrations. * * @return void */ public function down() { Schema::dropIfExists('bap_calendar'); } }