diff --git a/database/migrations/2022_09_04_133123_add_locale_to_users.php b/database/migrations/2022_09_04_133123_add_locale_to_users.php new file mode 100644 index 0000000..c98cad7 --- /dev/null +++ b/database/migrations/2022_09_04_133123_add_locale_to_users.php @@ -0,0 +1,22 @@ +string('locale')->after('email')->default('en-US'); + }); + } + + public function down() + { + Schema::table('users', function (Blueprint $table) { + $table->dropColumn('locale'); + }); + } +}