cirandas.net

ref: master

db/migrate/20150113131617_add_show_to_followers_for_article.rb


1
2
3
4
5
6
7
8
9
class AddShowToFollowersForArticle < ActiveRecord::Migration
  def up
    add_column :articles, :show_to_followers, :boolean, :default => false
  end

  def down
    remove_column :articles, :show_to_followers
  end
end