hunk.code_window: 	RootCmd.AddCommand(TestCmd)
   }
   func webClientTestsCmdF(command *cobra.Command, args []string) error {
   	a, err := InitDBCommandContextCobra(command)
   	if err != nil {
   		return err
   	}
   	defer a.Srv().Shutdown()
  
hunk.labels: keep keep keep keep replace keep keep keep keep keep
hunk.after_edit: 	a, err := InitDBCommandContextCobra(command, app.StartMetrics)
  
hunk.file_path: cmd/mattermost/commands/test.go
hunk.type: replace
file: CREATE INDEX IF NOT EXISTS idx_threads_channel_id ON threads(channelid);
  DROP INDEX IF EXISTS idx_threads_channel_id_last_reply_at;
  ALTER TABLE threads ALTER COLUMN participants TYPE text;
  