12345678910111213141516171819202122232425262728293031323334353637 |
- <?php
- use Illuminate\Database\Schema\Blueprint;
- use Illuminate\Database\Migrations\Migration;
- /**
- * Class CreateBlockInfosTable.
- */
- class CreateBlockInfosTable extends Migration
- {
- /**
- * Run the migrations.
- *
- * @return void
- */
- public function up()
- {
- Schema::create('block_infos', function(Blueprint $table) {
- $table->increments('id');
- $table->integer('analyze')->comment('扫描高度');
- $table->integer('num')->comment('最高高度');
- $table->string('coin_name')->comment('coin_name');
- $table->string('coin_id')->comment('coin_id');
- $table->timestamps();
- });
- }
- /**
- * Reverse the migrations.
- *
- * @return void
- */
- public function down()
- {
- Schema::drop('block_infos');
- }
- }
|