| 12345678910111213141516171819202122232425262728293031323334353637 | <?phpuse Illuminate\Support\Facades\Schema;use Illuminate\Database\Schema\Blueprint;use Illuminate\Database\Migrations\Migration;class CreateStatisticsUsersTable extends Migration{    /**     * Run the migrations.     *     * @return void     */    public function up()    {        Schema::create('statistics_users', function (Blueprint $table) {            $table->increments('id');            $table->string('username')->comment('用户名');            $table->string('password', 60)->comment('密码');            $table->string('name')->comment('姓名');            $table->string('avatar')->comment('头像')->nullable();            $table->string('remember_token')->nullable();            $table->timestamps();            $table->softDeletes();        });    }    /**     * Reverse the migrations.     *     * @return void     */    public function down()    {        Schema::dropIfExists('statistics_users');    }}
 |