Sha256: 4895e2e91b19d651f9822b15be6b3428df0a5370e2f29a41f66fefa934753994

Contents?: true

Size: 166 Bytes

Versions: 6

Compression:

Stored size: 166 Bytes

Contents

class ChangePageToPolymorphic < ActiveRecord::Migration
  def change
    add_column Refinery::ImagePage.table_name, :page_type, :string, :default => "page"
  end
end

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
refinerycms-page-images-3.0.0 db/migrate/20110527052435_change_page_to_polymorphic.rb
refinerycms-page-images-2.1.1 db/migrate/20110527052435_change_page_to_polymorphic.rb
refinerycms-page-images-2.1.0 db/migrate/20110527052435_change_page_to_polymorphic.rb
refinerycms-page-resources-0.0.1 db/migrate/20110527052435_change_page_to_polymorphic.rb
refinerycms-page-images-2.0.1 db/migrate/20110527052435_change_page_to_polymorphic.rb
refinerycms-page-images-2.0.0 db/migrate/20110527052435_change_page_to_polymorphic.rb