Sha256: 8c6134831f3d8a413cb0bce79ddce407f245ddb32698d4f0bde035aeb4d0e6b6

Contents?: true

Size: 301 Bytes

Versions: 6

Compression:

Stored size: 301 Bytes

Contents

class RemoveCustomTitleImageIdAndImageIdFromPages < ActiveRecord::Migration
	
  def self.up
		remove_column :pages, :custom_title_image_id
		remove_column :pages, :image_id
  end

  def self.down
		add_column :pages, :custom_title_image_id, :integer
		add_column :pages, :image_id, :integer
  end

end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
refinerycms-0.9.6.5 db/migrate/20100202034802_remove_custom_title_image_id_and_image_id_from_pages.rb
refinerycms-0.9.6.4 db/migrate/20100202034802_remove_custom_title_image_id_and_image_id_from_pages.rb
refinerycms-0.9.6.3 db/migrate/20100202034802_remove_custom_title_image_id_and_image_id_from_pages.rb
refinerycms-0.9.6.2 db/migrate/20100202034802_remove_custom_title_image_id_and_image_id_from_pages.rb
refinerycms-0.9.6.1 db/migrate/20100202034802_remove_custom_title_image_id_and_image_id_from_pages.rb
refinerycms-0.9.6 db/migrate/20100202034802_remove_custom_title_image_id_and_image_id_from_pages.rb