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:
Leonid Nikitin 2023-07-10 21:39:40 +06:00
parent 79112680bd
commit b1c9dac3cc
Signed by: kor-elf
GPG Key ID: 7DE8F80C5CEC2C0D

View File

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