hunk.code_window: 	a.DoAppMigrations()
   	return a, nil
   }
   func InitDBCommandContextCobra(command *cobra.Command) (*app.App, error) {
   	return initDBCommandContextCobra(command, true)
   }
  
hunk.labels: keep keep keep keep keep replace replace keep keep
hunk.after_edit: func InitDBCommandContextCobra(command *cobra.Command, options ...app.Option) (*app.App, error) {
   	return initDBCommandContextCobra(command, true, options...)
  
hunk.file_path: cmd/mattermost/commands/init.go
hunk.type: replace
file: // Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
  // See LICENSE.txt for license information.
  
  package model
  
  // Options for counting users
  type UserCountOptions struct {
  	// Should include users that are bots
  	IncludeBotAccounts bool
  	// Should include deleted users (of any type)
  	IncludeDeleted bool
  	// Exclude regular users
  	ExcludeRegularUsers bool
  	// Only include users on a specific team. "" for any team.
  	TeamId string
  	// Only include users on a specific channel. "" for any channel.
  	ChannelId string
  	// Restrict to search in a list of teams and channels
  	ViewRestrictions *ViewUsersRestrictions
  	// Only include users matching any of the given system wide roles.
  	Roles []string
  	// Only include users matching any of the given channel roles, must be used with ChannelId.
  	ChannelRoles []string
  	// Only include users matching any of the given team roles, must be used with TeamId.
  	TeamRoles []string
  }
  