asciinema.org/db/migrate/20170611171826_remove_comments_and_likes.rb
2017-06-19 12:09:08 +02:00

9 lines
216 B
Ruby

class RemoveCommentsAndLikes < ActiveRecord::Migration
def change
remove_column :asciicasts, :comments_count
remove_column :asciicasts, :likes_count
drop_table :comments
drop_table :likes
end
end