Sha256: 017cac1ae7a8399ad7837838b1e16cb1982fbc926ad26cfb35f39d23d854fb32

Contents?: true

Size: 189 Bytes

Versions: 38

Compression:

Stored size: 189 Bytes

Contents

class RenameUrlToFullpath < ActiveRecord::Migration
  def self.up
    rename_column :fixtures, :url, :fullpath
  end

  def self.down
    rename_column :fixtures, :fullpath, :url
  end
end

Version data entries

38 entries across 38 versions & 1 rubygems

Version Path
rest-assured-1.0.0.rc2 db/migrate/20110912162948_rename_url_to_fullpath.rb
rest-assured-1.0.0.rc1 db/migrate/20110912162948_rename_url_to_fullpath.rb
rest-assured-0.3.2 db/migrate/20110912162948_rename_url_to_fullpath.rb
rest-assured-0.3.1 db/migrate/20110912162948_rename_url_to_fullpath.rb
rest-assured-0.3.0 db/migrate/20110912162948_rename_url_to_fullpath.rb
rest-assured-0.2.0 db/migrate/20110912162948_rename_url_to_fullpath.rb
rest-assured-0.2.0.rc8 db/migrate/20110912162948_rename_url_to_fullpath.rb
rest-assured-0.2.0.rc7 db/migrate/20110912162948_rename_url_to_fullpath.rb
rest-assured-0.2.0.rc5 db/migrate/20110912162948_rename_url_to_fullpath.rb
rest-assured-0.2.0.rc4 db/migrate/20110912162948_rename_url_to_fullpath.rb
rest-assured-0.2.0.rc3 db/migrate/20110912162948_rename_url_to_fullpath.rb
rest-assured-0.2.0.rc2 db/migrate/20110912162948_rename_url_to_fullpath.rb
rest-assured-0.2.0.rc1 db/migrate/20110912162948_rename_url_to_fullpath.rb
rest-assured-0.1.4 db/migrate/20110912162948_rename_url_to_fullpath.rb
rest-assured-0.1.3 db/migrate/20110912162948_rename_url_to_fullpath.rb
rest-assured-0.1.2 db/migrate/20110912162948_rename_url_to_fullpath.rb
rest-assured-0.1.1 db/migrate/20110912162948_rename_url_to_fullpath.rb
rest-assured-0.1.0 db/migrate/20110912162948_rename_url_to_fullpath.rb