idn_app/db/migrate/20160104101151_add_commentable_to_articles.rb
2016-07-29 20:23:40 +02:00

7 lines
180 B
Ruby
Executable File

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