parent
							
								
									a9c29f6e15
								
							
						
					
					
						commit
						c455cba4d8
					
				
					 1 changed files with 6 additions and 0 deletions
				
			
		|  | @ -66,6 +66,12 @@ module Mastodon | ||||||
|       say("Imported #{imported}, skipped #{skipped}, failed to import #{failed}", color(imported, skipped, failed)) |       say("Imported #{imported}, skipped #{skipped}, failed to import #{failed}", color(imported, skipped, failed)) | ||||||
|     end |     end | ||||||
| 
 | 
 | ||||||
|  |     desc 'purge', 'Remove all custom emoji' | ||||||
|  |     def purge | ||||||
|  |       CustomEmoji.in_batches.destroy_all | ||||||
|  |       say('OK', :green) | ||||||
|  |     end | ||||||
|  | 
 | ||||||
|     private |     private | ||||||
| 
 | 
 | ||||||
|     def color(green, _yellow, red) |     def color(green, _yellow, red) | ||||||
|  |  | ||||||
		Loading…
	
		Reference in a new issue