mastodon/db/migrate/20190901035623_add_max_scor...

13 lines
272 B
Ruby

# frozen_string_literal: true
class AddMaxScoreToTags < ActiveRecord::Migration[5.2]
def change
safety_assured do
change_table(:tags, bulk: true) do |t|
t.column :max_score, :float
t.column :max_score_at, :datetime
end
end
end
end