Class: AddAuthTokenToUsers

Inherits:
ActiveRecord::Migration
  • Object
show all
Defined in:
lib/generators/cargo_wiki/templates/add_auth_token_to_users.rb

Instance Method Summary collapse

Instance Method Details

#changeObject



2
3
4
5
# File 'lib/generators/cargo_wiki/templates/add_auth_token_to_users.rb', line 2

def change
  add_column :cargo_wiki_users, :auth_token, :string

end