1
0
mirror of synced 2026-08-05 18:06:54 +00:00

Rename adsense_ads_txt setting to ads_txt

This commit is contained in:
Penar Musaraj
2019-06-03 11:39:28 -04:00
parent ab9cf6459e
commit f745ecfbdc
4 changed files with 18 additions and 7 deletions
@@ -0,0 +1,11 @@
# frozen_string_literal: true
class RenameSiteSettingAdsTxt < ActiveRecord::Migration[5.2]
def up
execute "UPDATE site_settings SET name = 'ads_txt' WHERE name = 'adsense_ads_txt'"
end
def down
execute "UPDATE site_settings SET name = 'adsense_ads_txt' WHERE name = 'ads_txt'"
end
end