<?php

use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;

/**
 * Migration auto-generated by Sequel Pro Laravel Export
 * @see https://github.com/cviebrock/sequel-pro-laravel-export
 */
class CreateWxLevelInfoTable extends Migration
{
    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        Schema::create('wx_level_info', function (Blueprint $table) {
            $table->increments('id');
            $table->string('name', 255)->comment('会员名称');
            $table->integer('min')->comment('最低积分');
            $table->integer('max')->comment('最高积分');
            $table->integer('status')->default(1)->comment('状态');
            $table->nullableTimestamps();

            

            

        });
    }

    /**
     * Reverse the migrations.
     *
     * @return void
     */
    public function down()
    {
        Schema::dropIfExists('wx_level_info');
    }
}
