diff --git a/database/migrations/2014_10_12_000000_create_users_table.php b/database/migrations/2014_10_12_000000_create_users_table.php index 28d52cf..423c777 100644 --- a/database/migrations/2014_10_12_000000_create_users_table.php +++ b/database/migrations/2014_10_12_000000_create_users_table.php @@ -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(); });