string('featured_image')->nullable(); $table->string('locale')->nullable(); $table->integer('id_ru')->unsigned()->nullable(); $table->integer('id_en')->unsigned()->nullable(); }); } public function down() { if (Schema::hasColumn('rainlab_blog_posts', 'featured_image')) { Schema::table('rainlab_blog_posts', function ($table) { $table->dropColumn('featured_image'); $table->dropColumn('locale'); $table->dropColumn('id_ru'); $table->dropColumn('id_en'); }); } } }