Sha256: 3d1e7da2f7087d2884608d5c3d792f5a73d4750007fb7ed839d57dfc80823d07

Contents?: true

Size: 404 Bytes

Versions: 10

Compression:

Stored size: 404 Bytes

Contents

class AddPages < ActiveRecord::Migration
  def self.up
    # Don't add this stuff in a migration.
    # Page.create(:title=>:about.l, :body=>"<p>#{:your_about_text_goes_here.l}</p>", :published_as=>"live", :page_public=>true)
    # Page.create(:title=>:faq.l, :body=>"<p>#{:your_faq_text_goes_here.l}</p>", :published_as=>"live", :page_public=>true)
  end

  def self.down
    Page.destroy_all
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
community_engine-3.2.0 db/migrate/070_add_pages.rb
community_engine-3.0.0 db/migrate/070_add_pages.rb
community_engine-2.3.2 db/migrate/070_add_pages.rb
community_engine-2.3.1 db/migrate/070_add_pages.rb
community_engine-2.3.0 db/migrate/070_add_pages.rb
community_engine-2.1.0 db/migrate/070_add_pages.rb
community_engine-2.0.0 db/migrate/070_add_pages.rb
community_engine-2.0.0.beta3 db/migrate/070_add_pages.rb
community_engine-2.0.0.beta2 db/migrate/070_add_pages.rb
community_engine-2.0.0.beta1 db/migrate/070_add_pages.rb