mirror of
https://github.com/funamitech/mastodon
synced 2024-12-05 10:18:45 +09:00
14 lines
331 B
Ruby
14 lines
331 B
Ruby
# frozen_string_literal: true
|
|
|
|
class AddTrendableToAccounts < ActiveRecord::Migration[6.1]
|
|
def change
|
|
safety_assured do
|
|
change_table(:accounts, bulk: true) do |t|
|
|
t.column :trendable, :boolean
|
|
t.column :reviewed_at, :datetime
|
|
t.column :requested_review_at, :datetime
|
|
end
|
|
end
|
|
end
|
|
end
|