Class: CreateActions
- Inherits:
-
ActiveRecord::Migration
- Object
- ActiveRecord::Migration
- CreateActions
- Defined in:
- lib/generators/templates/migrations/create_actions.rb
Instance Method Summary collapse
Instance Method Details
#change ⇒ Object
2 3 4 5 6 7 8 9 |
# File 'lib/generators/templates/migrations/create_actions.rb', line 2 def change create_table :actions do |t| t.string :name t.string :description t. end end |