mirror of
				https://github.com/lunaisnotaboy/mastodon.git
				synced 2025-11-04 06:45:01 +00:00 
			
		
		
		
	in the pool, adding a throttle of 60rpm per IP, adding mini profiler, adding admin status to users
		
			
				
	
	
		
			6 lines
		
	
	
		
			127 B
		
	
	
	
		
			Ruby
		
	
	
	
	
	
			
		
		
	
	
			6 lines
		
	
	
		
			127 B
		
	
	
	
		
			Ruby
		
	
	
	
	
	
class AddAdminToUsers < ActiveRecord::Migration
 | 
						|
  def change
 | 
						|
    add_column :users, :admin, :boolean, default: false
 | 
						|
  end
 | 
						|
end
 |