diff --git a/database/migrations/2020_06_28_155519_add_user_locale_field.php b/database/migrations/2020_06_28_155519_add_user_locale_field.php new file mode 100644 index 00000000..b71b186a --- /dev/null +++ b/database/migrations/2020_06_28_155519_add_user_locale_field.php @@ -0,0 +1,22 @@ +string('locale')->nullable()->after('nickname'); + }); + } + + public function down() + { + Schema::table('users', function (Blueprint $table) { + $table->removeColumn('locale'); + }); + } +}