olwen_techno_app/db/migrate/20160104101151_add_commentable_to_articles.rb
Nicolas Bally 2efaf19094 initial
2018-08-30 22:44:43 +02: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