Sha256: 06c25b3aa475a2c6a041bff9b1c07a9c18fef21f36a02384b85df9e12d7cf921

Contents?: true

Size: 215 Bytes

Versions: 8

Compression:

Stored size: 215 Bytes

Contents

class AddCapitalizationToSeller < ActiveRecord::Migration
  def self.up
    add_column :sellers, :capitalization, :float, :default => 0.0
  end

  def self.down
    remove_column :sellers, :capitalization
  end
end

Version data entries

8 entries across 8 versions & 2 rubygems

Version Path
has_many_polymorphs-2.11 test/integration/app/db/migrate/005_add_capitalization_to_seller.rb
ultrasphinx-1.11 test/integration/app/db/migrate/005_add_capitalization_to_seller.rb
ultrasphinx-1.6.7 test/integration/app/db/migrate/005_add_capitalization_to_seller.rb
ultrasphinx-1.5.3 test/integration/app/db/migrate/005_add_capitalization_to_seller.rb
ultrasphinx-1.6 test/integration/app/db/migrate/005_add_capitalization_to_seller.rb
ultrasphinx-1.8 test/integration/app/db/migrate/005_add_capitalization_to_seller.rb
ultrasphinx-1.7 test/integration/app/db/migrate/005_add_capitalization_to_seller.rb
ultrasphinx-1.9 test/integration/app/db/migrate/005_add_capitalization_to_seller.rb