2023-07-12 16:47:08 +09:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2022-02-25 08:34:14 +09:00
|
|
|
class AddTrendableToAccounts < ActiveRecord::Migration[6.1]
|
|
|
|
def change
|
2023-11-07 01:15:48 +09:00
|
|
|
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
|
2022-02-25 08:34:14 +09:00
|
|
|
end
|
|
|
|
end
|