discourse/db/migrate/20231111201253_rename_experimental_passkeys_site_setting.rb

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

12 lines
345 B
Ruby
Raw Normal View History

# frozen_string_literal: true
class RenameExperimentalPasskeysSiteSetting < ActiveRecord::Migration[7.0]
def up
execute "UPDATE site_settings SET name = 'enable_passkeys' WHERE name = 'experimental_passkeys'"
end
def down
execute "UPDATE site_settings SET name = 'experimental_passkeys' WHERE name = 'enable_passkeys'"
end
end