mastodon/db/post_migrate/20190901040524_remove_score_from_tags.rb

13 lines
262 B
Ruby
Raw Normal View History

# frozen_string_literal: true
class RemoveScoreFromTags < ActiveRecord::Migration[5.2]
disable_ddl_transaction!
def change
safety_assured do
remove_column :tags, :score, :int
remove_column :tags, :last_trend_at, :datetime
end
end
end