The type for 'timezone' in the 'users' table was previously assigned as an unsigned integer. For flexible usage and to support a larger range of timezones, it has been altered to a string. The maximum length is set to 50 characters. This change ensures a more universal and user-friendly handling of various timezone situations.
!!! 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:
parent
79112680bd
commit
b1c9dac3cc
@ -20,7 +20,7 @@ return new class extends Migration
|
||||
$table->string('password');
|
||||
$table->rememberToken();
|
||||
$table->unsignedInteger('lang')->nullable();
|
||||
$table->unsignedInteger('timezone')->nullable();
|
||||
$table->string('timezone', 50)->nullable();
|
||||
$table->timestamps();
|
||||
$table->softDeletes();
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user