mirror of
https://github.com/Retrospring/retrospring.git
synced 2025-02-08 00:33:36 +01:00
7 lines
170 B
Ruby
7 lines
170 B
Ruby
|
class AddScreenNameToUsers < ActiveRecord::Migration
|
||
|
def change
|
||
|
add_column :users, :screen_name, :string
|
||
|
add_index :users, :screen_name, unique: true
|
||
|
end
|
||
|
end
|