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. !!!
This commit is contained in:
kor-elf committed 2023-07-09 19:31:42 +06:00
1 parent e5d0cac07d
commit 524bf569e3
1 file changed
+1 -1
@@ -19,7 +19,7 @@ return new class extends Migration
$table->timestamp('email_verified_at')->nullable(); $table->timestamp('email_verified_at')->nullable();
$table->string('password'); $table->string('password');
$table->rememberToken(); $table->rememberToken();
$table->unsignedInteger('locale')->nullable(); $table->unsignedInteger('lang')->nullable();
$table->unsignedInteger('timezone')->nullable(); $table->unsignedInteger('timezone')->nullable();
$table->timestamps(); $table->timestamps();
$table->softDeletes(); $table->softDeletes();