7 lines
153 B
Ruby
7 lines
153 B
Ruby
class AddAuthTokenToUsers < ActiveRecord::Migration
|
|
def change
|
|
add_column :users, :auth_token, :string
|
|
add_index :users, :auth_token
|
|
end
|
|
end
|