increments('id'); $table->integer('opportunity_id')->nullable(); $table->integer('agent_id')->nullable(); $table->integer('listing_id')->nullable(); $table->string('title', 255)->nullable(); $table->string('status', 100)->nullable(); $table->text('description')->nullable(); $table->softDeletes(); $table->nullableTimestamps(); }); } /* * Reverse the migrations. * * @return void */ public function down() { Schema::drop('viewings'); } }