asciinema.org/db/migrate/20170611171826_remove_comments_and_likes.rb

9 lines
216 B
Ruby
Raw Normal View History

2017-06-19 10:09:08 +00:00
class RemoveCommentsAndLikes < ActiveRecord::Migration
def change
remove_column :asciicasts, :comments_count
remove_column :asciicasts, :likes_count
drop_table :comments
drop_table :likes
end
end