tinyInteger('group_id')->default(1)->comment('配置分组'); }); DB::table('config')->where('field', 'channel_message')->update(['group_id' => 2]); } /** * Reverse the migrations. * * @return void */ public function down() { // } };