Sha256: d464acc1cf6cf718e5d1b03d21e456b3a0a65c30a365b046fa8339297ae2ff9b

Contents?: true

Size: 210 Bytes

Versions: 10

Compression:

Stored size: 210 Bytes

Contents

class NewsToTalk < ActiveRecord::Migration
  def self.up
    # Not in a migration!
    # category = Category.create(:name => "Talk")
  end

  def self.down
    # Category.find_by_name("Talk").destroy
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

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