diff --git a/database/migrations/2020_02_18_172320_add_local_to_sliders_table.php b/database/migrations/2020_02_18_172320_add_local_to_sliders_table.php new file mode 100644 index 00000000..6c9d0e08 --- /dev/null +++ b/database/migrations/2020_02_18_172320_add_local_to_sliders_table.php @@ -0,0 +1,34 @@ +boolean('ru')->default(1); + $table->boolean('tk')->default(1); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::table('sliders', function (Blueprint $table) { + $table->dropColumn('ru'); + $table->dropColumn('tk'); + }); + } +}