musifrat_app/db/migrate/20160104101151_add_commentable_to_articles.rb
Nicolas Bally a1aef72f7f intial
2019-02-03 15:12:58 +01:00

7 lines
180 B
Ruby

class AddCommentableToArticles < ActiveRecord::Migration
def change
add_column :articles, :commentable, :boolean
add_column :articles, :show_comments, :boolean
end
end