mirror of
https://framagit.org/tykayn/mastodon.git
synced 2023-08-25 08:33:12 +02:00
13 lines
262 B
Ruby
13 lines
262 B
Ruby
|
# 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
|