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:
@@ -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();
|
||||
|
Reference in New Issue
Block a user