increments('id'); $table->increments('Article_id')->nullable(); $table->integer('Author_id')->nullable(); $table->dateTime('Published_on')->nullable(); $table->string('Title', 125)->nullable(); $table->string('Excerpt', 512)->nullable(); $table->text('Body')->nullable(); $table->boolean('Is_published')->nullable(); $table->increments('Can_comment')->nullable(); $table->softDeletes(); $table->nullableTimestamps(); }); } /* * Reverse the migrations. * * @return void */ public function down() { Schema::drop('articles'); } }