v0.10.0h - Fixed phone number bug, changed phone number from int to string

This commit is contained in:
2020-08-17 14:42:58 +02:00
parent d4bc3f5520
commit 0144fb8586
2 changed files with 2 additions and 2 deletions
@@ -26,7 +26,7 @@ class CreateUsersTable extends Migration
$table->string('email')->unique();
$table->timestamp('email_verified_at')->nullable();
$table->string('password');
$table->integer("phone")->unique();
$table->string("phone", 8)->unique();
$table->rememberToken();
$table->foreignId("resource_id")->nullable()->constrained("resources", "id");
$table->boolean("wants_emails")->default(true);