6
0
Fork 0
release
李静 2022-01-14 10:50:10 +08:00
parent 75d98b5f71
commit ca047281ef
1 changed files with 1 additions and 1 deletions

View File

@ -14,7 +14,7 @@ class AddRealInviterIdToUserInfosTable extends Migration
public function up()
{
Schema::table('user_infos', function (Blueprint $table) {
$table->unsignedBigInteger('real_inviter_id')->nullable()->comment('真实邀请人ID');
$table->unsignedBigInteger('real_inviter_id')->nullable()->index()->comment('真实邀请人ID');
});
}