id(); $table->bigInteger('hospital')->default(0)->index(); $table->tinyInteger('type')->comment('1-商户 MERCHANT_ID 2-个人 PERSONAL_OPENID'); $table->string('account', 50); $table->string('formula', 200); $table->string('desc', 80); $table->tinyInteger('status'); $table->tinyInteger('del')->default(2); $table->timestamps(); }); } /** * Reverse the migrations. * * @return void */ public function down() { Schema::dropIfExists('profitsharings'); } }