forked from External/greenlight
		
	personalized rooms page
This commit is contained in:
		
							
								
								
									
										6
									
								
								db/migrate/20161017203809_add_username_to_user.rb
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										6
									
								
								db/migrate/20161017203809_add_username_to_user.rb
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,6 @@
 | 
			
		||||
class AddUsernameToUser < ActiveRecord::Migration[5.0]
 | 
			
		||||
  def change
 | 
			
		||||
    add_column :users, :username, :string
 | 
			
		||||
    add_index :users, :username, unique: true
 | 
			
		||||
  end
 | 
			
		||||
end
 | 
			
		||||
		Reference in New Issue
	
	Block a user