Class: CreateNodeExtraFields

Inherits:
Object
  • Object
show all
Defined in:
lib/generators/dummy/templates/migrations/create_node_extra_fields.rb

Instance Method Summary collapse

Instance Method Details

#changeObject


2
3
4
# File 'lib/generators/dummy/templates/migrations/create_node_extra_fields.rb', line 2

def change
  add_column :nodes, :description, :text
end