Retrospring/db/migrate/20140801103309_add_screen_n...

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

7 lines
175 B
Ruby
Raw Normal View History

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