mirror of
https://github.com/discourse/discourse.git
synced 2025-02-07 06:17:47 +08:00
![Martin Brennan](/assets/img/avatar_default.png)
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
|