increments('id'); $table->char('body'); $table->char('url'); $table->integer('user_id')->unsigned(); $table->integer('commentable_id'); $table->char('commentable_type'); $table->timestamps(); }); } /** * Reverse the migrations. * * @return void */ public function down() { Schema::dropIfExists('comments'); } }