mirror of
https://github.com/discourse/discourse.git
synced 2025-10-03 17:21:20 +08:00
13 lines
293 B
Ruby
13 lines
293 B
Ruby
# frozen_string_literal: true
|
|
class DeleteUsePolymorphicBookmarksSetting < ActiveRecord::Migration[8.0]
|
|
def up
|
|
execute <<~SQL
|
|
DELETE FROM site_settings
|
|
WHERE name = 'use_polymorphic_bookmarks'
|
|
SQL
|
|
end
|
|
|
|
def down
|
|
raise ActiveRecord::IrreversibleMigration
|
|
end
|
|
end
|