Sha256: 69701a01185763956fd885fed059b8bca040ad11d29829fb4fb55cb7bb26bcbe

Contents?: true

Size: 215 Bytes

Versions: 5

Compression:

Stored size: 215 Bytes

Contents

class ChangeSmartVariableLength < ActiveRecord::Migration
  def self.up
    change_column :lookup_keys, :default_value, :text
  end

  def self.down
    change_column :lookup_keys, :default_value, :string
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

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