Initial commit
This commit is contained in:
6
db/migrate/20180418183903_add_team_name_to_users.rb
Normal file
6
db/migrate/20180418183903_add_team_name_to_users.rb
Normal file
@@ -0,0 +1,6 @@
|
||||
class AddTeamNameToUsers < ActiveRecord::Migration[5.2]
|
||||
def change
|
||||
add_column :users, :team_name, :string
|
||||
add_index :users, :team_name, unique: true
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user