Class: AddOtherNameToUsers

Inherits:
ActiveRecord::Migration
  • Object
show all
Defined in:
lib/generators/tkh_authentication/create_or_update_migrations/templates/add_other_name_to_users.rb

Instance Method Summary collapse

Instance Method Details

#changeObject


2
3
4
# File 'lib/generators/tkh_authentication/create_or_update_migrations/templates/add_other_name_to_users.rb', line 2

def change
  add_column :users, :other_name, :string
end