Sha256: 7f4bdae19c2cd49a5fbc419ebdc479058ca8639a4c96c89e2fe636159ff7bed5

Contents?: true

Size: 306 Bytes

Versions: 20

Compression:

Stored size: 306 Bytes

Contents

class ChangedBusinessesAddedEstimatedValueNotes < ActiveRecord::Migration
  def self.up
    add_column :businesses, :estimated_value, :float
    add_column :businesses, :notes, :string
  end
  
  def self.down
    remove_column :businesses, :estimated_value
    remove_column :businesses, :notes
  end
end

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
migrant-1.5.0 test/verified_output/migrations/estimated_value_notes.rb
migrant-1.4.3 test/verified_output/migrations/estimated_value_notes.rb
migrant-1.4.1 test/verified_output/migrations/estimated_value_notes.rb
migrant-1.4.0 test/verified_output/migrations/estimated_value_notes.rb
migrant-1.3.2 test/verified_output/migrations/estimated_value_notes.rb
migrant-1.3.1 test/verified_output/migrations/estimated_value_notes.rb
migrant-1.3.0 test/verified_output/migrations/estimated_value_notes.rb
migrant-1.2.8 test/verified_output/migrations/estimated_value_notes.rb
migrant-1.2.7 test/verified_output/migrations/estimated_value_notes.rb
migrant-1.2.5 test/verified_output/migrations/estimated_value_notes.rb
migrant-1.2.2 test/verified_output/migrations/estimated_value_notes.rb
migrant-1.2.1 test/verified_output/migrations/estimated_value_notes.rb
migrant-1.2.0 test/verified_output/migrations/estimated_value_notes.rb
migrant-1.1.2 test/verified_output/migrations/estimated_value_notes.rb
migrant-1.1.1 test/verified_output/migrations/estimated_value_notes.rb
migrant-1.1.0 test/verified_output/migrations/estimated_value_notes.rb
migrant-1.0.2 test/verified_output/migrations/estimated_value_notes.rb
migrant-1.0.1 test/verified_output/migrations/estimated_value_notes.rb
migrant-1.0.0 test/verified_output/migrations/estimated_value_notes.rb
migrant-0.2.4 test/verified_output/migrations/estimated_value_notes.rb