id(); $table->morphs('owner'); $table->bigInteger('commenter_id')->unsigned()->index(); $table->string('content',200); $table->integer('type')->default(RemarkTypes::INTERNAL); $table->softDeletes(); $table->timestamps(); }); Schema::table('remarks', function (Blueprint $table) { $table->string('owner_type', 191)->change(); }); } /** * Reverse the migrations. * * @return void */ public function down() { Schema::dropIfExists('remarks'); } }