Class: Upgrade034HasDynamicColumns

Inherits:
ActiveRecord::Migration
  • Object
show all
Defined in:
lib/generators/has_dynamic_columns/templates/migration_0.3.4.rb

Class Method Summary collapse

Class Method Details

.downObject



6
7
# File 'lib/generators/has_dynamic_columns/templates/migration_0.3.4.rb', line 6

def self.down
end

.upObject



2
3
4
# File 'lib/generators/has_dynamic_columns/templates/migration_0.3.4.rb', line 2

def self.up
	add_column :dynamic_columns, :multiple, :boolean, :default => false
end