Class: AddOtherNameToUsers
- Inherits:
-
ActiveRecord::Migration
- Object
- ActiveRecord::Migration
- AddOtherNameToUsers
- Defined in:
- lib/generators/tkh_authentication/create_or_update_migrations/templates/add_other_name_to_users.rb
Instance Method Summary collapse
Instance Method Details
#change ⇒ Object
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 |