Sha256: d577f260e95059a72f11e74d01f8d55c22100d13b0f2fa2c25c4988eba080cf4

Contents?: true

Size: 240 Bytes

Versions: 5

Compression:

Stored size: 240 Bytes

Contents

class AddLookupValuesCountToLookupKeys < ActiveRecord::Migration
  def self.up
    add_column :lookup_keys, :lookup_values_count, :integer, :default => 0
  end

  def self.down
    remove_column :lookup_keys, :lookup_values_count
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
foreman_discovery-1.0.0 test/foreman_app/db/migrate/20120916080843_add_lookup_values_count_to_lookup_keys.rb
foreman_discovery-1.0.0.rc4 test/foreman_app/db/migrate/20120916080843_add_lookup_values_count_to_lookup_keys.rb
foreman_discovery-1.0.0.rc3 test/foreman_app/db/migrate/20120916080843_add_lookup_values_count_to_lookup_keys.rb
foreman_discovery-1.0.0.rc2 test/foreman_app/db/migrate/20120916080843_add_lookup_values_count_to_lookup_keys.rb
foreman_discovery-1.0.0.rc1 test/foreman_app/db/migrate/20120916080843_add_lookup_values_count_to_lookup_keys.rb