increments('id'); $table->char('paste_id', 6)->unique(); $table->text('reason'); $table->string('deleted_by'); $table->timestamp('deleted_at'); $table->foreign('paste_id')->references('id')->on('pastes'); }); } /** * Reverse the migrations. * * @return void */ public function down() { Schema::drop('deletions'); } }