From 524bf569e3e1429273b7279bb91461789581078d Mon Sep 17 00:00:00 2001 From: Leonid Nikitin Date: Sun, 9 Jul 2023 19:31:42 +0600 Subject: [PATCH] The 'locale' column in the users table migration was renamed to 'lang'. This change was made to improve the clarity and consistency of naming conventions across the database. The term 'lang' is more universally recognized and thus provides better code readability. !!! Since the project has not yet been launched, therefore, I do not create a new migration, but change the current one. !!! --- database/migrations/2014_10_12_000000_create_users_table.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/database/migrations/2014_10_12_000000_create_users_table.php b/database/migrations/2014_10_12_000000_create_users_table.php index 423c777..813e874 100644 --- a/database/migrations/2014_10_12_000000_create_users_table.php +++ b/database/migrations/2014_10_12_000000_create_users_table.php @@ -19,7 +19,7 @@ return new class extends Migration $table->timestamp('email_verified_at')->nullable(); $table->string('password'); $table->rememberToken(); - $table->unsignedInteger('locale')->nullable(); + $table->unsignedInteger('lang')->nullable(); $table->unsignedInteger('timezone')->nullable(); $table->timestamps(); $table->softDeletes();