From deaac15b20e656fe8563b3935113f8ec1c25ec83 Mon Sep 17 00:00:00 2001 From: merdan Date: Tue, 18 Feb 2020 17:31:19 +0500 Subject: [PATCH] slider localization --- ...2_18_172320_add_local_to_sliders_table.php | 34 +++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 database/migrations/2020_02_18_172320_add_local_to_sliders_table.php 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'); + }); + } +}