You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
asciinema.org/db/migrate/20170611171826_remove_comme...

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