mirror of
https://github.com/discourse/discourse.git
synced 2024-11-29 13:25:24 +08:00
fef52c2ab7
This setting has not been used for a long time, get rid of it and also update the historical migration to not rely on the SiteSetting model.
12 lines
272 B
Ruby
12 lines
272 B
Ruby
# frozen_string_literal: true
|
|
|
|
class DeleteOldBookmarkReminderSetting < ActiveRecord::Migration[7.0]
|
|
def up
|
|
DB.exec("DELETE FROM site_settings WHERE name = 'enable_bookmarks_with_reminders'")
|
|
end
|
|
|
|
def down
|
|
raise ActiveRecord::IrreversibleMigration
|
|
end
|
|
end
|