Sha256: 880ddcf3f37c072700cd2f6480a310b12621b9a5ef1fe5b8053f7733b3f26896

Contents?: true

Size: 274 Bytes

Versions: 121

Compression:

Stored size: 274 Bytes

Contents

class AddDescriptionAndKeywordsToPages < ActiveRecord::Migration
  def self.up
    add_column :pages, :description, :string
    add_column :pages, :keywords, :string
  end

  def self.down
    remove_column :pages, :keywords
    remove_column :pages, :description
  end
end

Version data entries

121 entries across 121 versions & 6 rubygems

Version Path
radiant-1.1.0.rc1 db/migrate/018_add_description_and_keywords_to_pages.rb
radiant-1.1.0.beta db/migrate/018_add_description_and_keywords_to_pages.rb
radiant-1.0.1 db/migrate/018_add_description_and_keywords_to_pages.rb
radiant-1.1.0.alpha db/migrate/018_add_description_and_keywords_to_pages.rb
radiant-1.0.0 db/migrate/018_add_description_and_keywords_to_pages.rb
radiant-1.0.0.rc5 db/migrate/018_add_description_and_keywords_to_pages.rb
radiant-1.0.0.rc4 db/migrate/018_add_description_and_keywords_to_pages.rb
radiant-1.0.0.rc3 db/migrate/018_add_description_and_keywords_to_pages.rb
kajam-1.0.3.rc2 db/migrate/018_add_description_and_keywords_to_pages.rb
radiant-1.0.0.rc2 db/migrate/018_add_description_and_keywords_to_pages.rb
radiant-1.0.0.rc1 db/migrate/018_add_description_and_keywords_to_pages.rb
radiant-rails3-0.1 db/migrate/018_add_description_and_keywords_to_pages.rb
radiantcms-couchrest_model-0.2.4 db/migrate/018_add_description_and_keywords_to_pages.rb
radiantcms-couchrest_model-0.2.2 db/migrate/018_add_description_and_keywords_to_pages.rb
radiantcms-couchrest_model-0.2.1 db/migrate/018_add_description_and_keywords_to_pages.rb
radiantcms-couchrest_model-0.2 db/migrate/018_add_description_and_keywords_to_pages.rb
radiantcms-couchrest_model-0.1.9 db/migrate/018_add_description_and_keywords_to_pages.rb
radiantcms-couchrest_model-0.1.8 db/migrate/018_add_description_and_keywords_to_pages.rb
radiantcms-couchrest_model-0.1.7 db/migrate/018_add_description_and_keywords_to_pages.rb
radiantcms-couchrest_model-0.1.6 db/migrate/018_add_description_and_keywords_to_pages.rb