Skip to content

Commit

Permalink
feat(database):Add field phone_number to table user
Browse files Browse the repository at this point in the history
  • Loading branch information
yinfuyuan committed Jan 25, 2021
1 parent 11667c5 commit 22ea469
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -16,6 +16,7 @@ public function up()
Schema::create('users', function (Blueprint $table) {
$table->id();
$table->string('name');
$table->string('phone_number',11)->unique();
$table->string('email')->unique();
$table->timestamp('email_verified_at')->nullable();
$table->string('password');
Expand Down

0 comments on commit 22ea469

Please sign in to comment.