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:
Leonid Nikitin 2023-07-09 19:31:42 +06:00
parent e5d0cac07d
commit 524bf569e3
Signed by: kor-elf
GPG Key ID: 7DE8F80C5CEC2C0D

View File

@ -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();