2
0
mirror of https://github.com/moebooru/moebooru synced 2025-08-22 01:47:48 +00:00
moebooru/db/migrate/20120920173803_remove_anonymous_votes_from_posts.rb
2018-03-10 18:15:56 +09:00

10 lines
193 B
Ruby

class RemoveAnonymousVotesFromPosts < ActiveRecord::Migration[5.1]
def up
remove_column :posts, :anonymous_votes
end
def down
raise ActiveRecord::IrreversibleMigration
end
end