From 0b03aec038aeb2a13f889a272fdb48b8dc226e86 Mon Sep 17 00:00:00 2001 From: kuaifan Date: Mon, 27 Dec 2021 12:19:03 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E9=82=80=E8=AF=B7=E5=8A=A0=E5=85=A5?= =?UTF-8?q?=E9=A1=B9=E7=9B=AE=E6=95=B0=E6=8D=AE=E5=BA=93=E8=BF=81=E7=A7=BB?= =?UTF-8?q?=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...27_121827_create_project_invites_table.php | 34 +++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 database/migrations/2021_12_27_121827_create_project_invites_table.php diff --git a/database/migrations/2021_12_27_121827_create_project_invites_table.php b/database/migrations/2021_12_27_121827_create_project_invites_table.php new file mode 100644 index 00000000..14289615 --- /dev/null +++ b/database/migrations/2021_12_27_121827_create_project_invites_table.php @@ -0,0 +1,34 @@ +bigIncrements('id'); + $table->bigInteger('project_id')->nullable()->default(0)->comment('项目ID'); + $table->integer('num')->nullable()->default(0)->comment('累计邀请'); + $table->string('code')->nullable()->default('')->comment('链接码'); + $table->timestamps(); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::dropIfExists('project_invites'); + } +}