2023-10-19 16:37:34 -07:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2020-04-19 09:10:31 -07:00
|
|
|
class AddScreenNameToUsers < ActiveRecord::Migration[4.2]
|
2014-08-01 06:27:08 -07:00
|
|
|
def change
|
|
|
|
add_column :users, :screen_name, :string
|
|
|
|
add_index :users, :screen_name, unique: true
|
|
|
|
end
|
|
|
|
end
|