mirror of
https://github.com/Retrospring/retrospring.git
synced 2024-11-20 14:29:53 +01:00
6 lines
175 B
Ruby
6 lines
175 B
Ruby
class AddScreenNameToUsers < ActiveRecord::Migration[4.2]
|
|
def change
|
|
add_column :users, :screen_name, :string
|
|
add_index :users, :screen_name, unique: true
|
|
end
|
|
end
|