Class: AddRolesToUsers
- Inherits:
-
ActiveRecord::Migration
- Object
- ActiveRecord::Migration
- AddRolesToUsers
- Defined in:
- lib/generators/petergate/templates/migrations/add_roles_to_users.rb
Instance Method Summary collapse
Instance Method Details
#change ⇒ Object
2 3 4 |
# File 'lib/generators/petergate/templates/migrations/add_roles_to_users.rb', line 2 def change add_column :users, :roles, :string end |