public function up(){ Schema::create('dicts', function (Blueprint $table) { $table->id();$table->string("title")->comment("标题"); $table->string("des")->comment("描述"); $table->integer("sid")->comment("上级标题"); $table->integer("is_show")->comment("是否显示"); $table->timestamps();}); Illuminate\Support\Facades\DB::statement("ALTER TABLE `dicts` comment '字典表'"); }