Sha256: 003b99d74d6788d5719df6e71842ae6b8493fd8d3c72f62f0a0b2c51c3b4ce47

Contents?: true

Size: 336 Bytes

Versions: 5

Compression:

Stored size: 336 Bytes

Contents

class AddCodeToPages < ActiveRecord::Migration
  def self.up
    add_column :pages, :page_code, :text
    add_column :pages, :header_code, :text
    add_column :pages, :bottom_code, :text
  end

  def self.down
    remove_column :pages, :page_code
    remove_column :pages, :header_code
    remove_column :pages, :bottom_code
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
forgeos_cms-1.9.5.rc1 db/migrate/20100501150819_add_code_to_pages.rb
forgeos_cms-1.9.4 db/migrate/20100501150819_add_code_to_pages.rb
forgeos_cms-1.9.2 db/migrate/20100501150819_add_code_to_pages.rb
forgeos_cms-1.9.1 db/migrate/20100501150819_add_code_to_pages.rb
forgeos_cms-1.9.0 db/migrate/20100501150819_add_code_to_pages.rb