mirror of
https://github.com/discourse/discourse.git
synced 2024-11-29 12:13:58 -06:00
07c6b720bc
It was deprecated 5 years ago in e55e2aff94
I've seen it still being used in the wild, even though it doesn't do anything anymore as I understand it.
13 lines
311 B
Ruby
13 lines
311 B
Ruby
# frozen_string_literal: true
|
|
|
|
class RemovePostProcessedTriggerOption < ActiveRecord::Migration[6.1]
|
|
def up
|
|
# Replace Badge::Trigger::PostProcessed (16) with None (0)
|
|
DB.exec("UPDATE badges SET trigger = 0 WHERE trigger = 16")
|
|
end
|
|
|
|
def down
|
|
raise ActiveRecord::IrreversibleMigration
|
|
end
|
|
end
|