Class: CreateRoles
- Inherits:
-
Object
- Object
- CreateRoles
- Defined in:
- lib/generators/install/templates/create_roles.rb
Instance Method Summary collapse
Instance Method Details
#change ⇒ Object
2 3 4 5 6 7 8 |
# File 'lib/generators/install/templates/create_roles.rb', line 2 def change create_table :roles do |t| t.string :name t. end end |