Changed the data type and default value of 'locale' and 'timezone' fields in the users table. Instead of using strings, we are now using unsigned integers.
!!! 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,8 +19,8 @@ return new class extends Migration
|
||||
$table->timestamp('email_verified_at')->nullable();
|
||||
$table->string('password');
|
||||
$table->rememberToken();
|
||||
$table->string('locale', 2)->default('ru');
|
||||
$table->string('timezone')->nullable();
|
||||
$table->unsignedInteger('locale')->nullable();
|
||||
$table->unsignedInteger('timezone')->nullable();
|
||||
$table->timestamps();
|
||||
$table->softDeletes();
|
||||
});
|
||||
|
Reference in New Issue
Block a user