mirror of
https://github.com/mastodon/mastodon.git
synced 2024-12-22 22:15:23 +01:00
13 lines
379 B
Ruby
13 lines
379 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 # rubocop:disable Rails/ThreeStateBooleanColumn
|
|
t.column :reviewed_at, :datetime
|
|
t.column :requested_review_at, :datetime
|
|
end
|
|
end
|
|
end
|
|
end
|