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