Sha256: 23f8036688d6ff55c2e794df66f3c2e7e82c095ff6306dec6b44219f4f100014

Contents?: true

Size: 212 Bytes

Versions: 5

Compression:

Stored size: 212 Bytes

Contents

class UpdateMediaPathLimit < ActiveRecord::Migration
  def self.up
    change_column :media, :path, :string, :limit => 255
  end

  def self.down
    change_column :media, :path, :string, :limit => 100
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

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