increments('id'); $table->integer('m_id')->index('m_id')->comment('会员ID'); $table->integer('contract_id')->index('contract_id')->comment('合约ID'); $table->double('add_money',16,6)->default(0)->comment('分配数量'); $table->timestamps(); }); } /** * Reverse the migrations. * * @return void */ public function down() { Schema::drop('grant_items'); } }