10 lines
194 B
Ruby
10 lines
194 B
Ruby
class AddTokenAuthentication < ActiveRecord::Migration
|
|
def up
|
|
add_column :users, :authentication_token, :string
|
|
end
|
|
|
|
def down
|
|
remove_column :users, :authentication_token
|
|
end
|
|
end
|