qi6_app/db/migrate/20160104101151_add_commentable_to_articles.rb
2019-05-17 12:30:45 +02:00

7 lines
185 B
Ruby

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