Skip to content

Commit

Permalink
修改邀请码长度最大 128
Browse files Browse the repository at this point in the history
  • Loading branch information
mylxsw committed Mar 4, 2021
1 parent c355ed3 commit a7bb729
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion database/migrations/2021_03_04_114106_invitation_code.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ public function up()
{
Schema::create('wz_invitation_code', function (Blueprint $table) {
$table->bigIncrements('id');
$table->string('code', 255)->comment('注册邀请码')->unique();
$table->string('code', 128)->comment('注册邀请码')->unique();
$table->dateTime('expired_at')->nullable()->comment('邀请码有效期限');
$table->integer('user_id', false, true)->comment('创建用户ID');

Expand Down

0 comments on commit a7bb729

Please sign in to comment.