mirror of
https://github.com/discourse/discourse.git
synced 2024-11-28 19:53:53 -06:00
25138db433
This commit promotes all post_deploy migrations which existed in Discourse v3.0.0 (timestamp <= 20221212234948)
15 lines
379 B
Ruby
15 lines
379 B
Ruby
# frozen_string_literal: true
|
|
|
|
class RemoveEmailStatusesTable < ActiveRecord::Migration[7.0]
|
|
def up
|
|
remove_index :chat_message_email_statuses, :status
|
|
remove_index :chat_message_email_statuses, %i[user_id chat_message_id]
|
|
|
|
Migration::TableDropper.execute_drop("chat_message_email_statuses")
|
|
end
|
|
|
|
def down
|
|
raise ActiveRecord::IrreversibleMigration
|
|
end
|
|
end
|