mastodon/db/migrate/20190901035623_add_max_score_to_tags.rb
2023-11-06 16:15:48 +00:00

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