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->integer('block_num')->default('0')->comment('block_num'); $table->double('money',12,6)->default('0')->comment('余额'); $table->string('from_a')->default('')->comment('from_a'); $table->string('hash')->default('')->comment('hash'); $table->string('to_a')->default('')->comment('to_a'); $table->string('to_type')->default('')->comment('to_type'); $table->string('fee_limit')->default('')->comment('fee_limit'); $table->string('coin_name')->default('')->comment('coin_name'); $table->timestamp('pay_at',0)->nullable(); $table->timestamps(); }); } /** * Reverse the migrations. * * @return void */ public function down() { Schema::drop('block_items'); } }