mirror of
https://github.com/discourse/discourse.git
synced 2024-12-20 09:33:43 +08:00
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
|