increments('id'); $table->integer('m_id')->index('m_id')->default('0')->comment('m_id'); $table->integer('coin_id')->index('coin_id')->default('0')->comment('coin_id'); $table->string('coin_name')->default('')->comment('币名'); $table->double('num',12,6)->default('0')->comment('余额'); $table->double('lock_num',12,6)->default('0')->comment('锁定数量'); $table->string('address')->default('')->comment('address'); $table->string('private')->default('')->comment(''); $table->string('code_img')->default('')->comment(''); $table->timestamps(); }); } /** * Reverse the migrations. * * @return void */ public function down() { Schema::drop('member_coins'); } }