Extract counters from accounts table to account_stats table (#9295)
This commit is contained in:
		
					parent
					
						
							
								4fdefffb99
							
						
					
				
			
			
				commit
				
					
						d6b9a62e0a
					
				
			
		
					 25 changed files with 203 additions and 68 deletions
				
			
		|  | @ -25,7 +25,7 @@ class Api::V1::Accounts::FollowingAccountsController < Api::BaseController | |||
|   end | ||||
| 
 | ||||
|   def default_accounts | ||||
|     Account.includes(:passive_relationships).references(:passive_relationships) | ||||
|     Account.includes(:passive_relationships, :account_stat).references(:passive_relationships) | ||||
|   end | ||||
| 
 | ||||
|   def paginated_follows | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue