rename 'convert_pasted_images_quality' site setting to 'png_to_jpg_quality'
This commit is contained in:
parent
0ccd77eb7b
commit
eabfc59d51
|
@ -0,0 +1,9 @@
|
|||
class RenameConvertPastedImagesQualitySiteSetting < ActiveRecord::Migration
|
||||
def up
|
||||
execute "UPDATE site_settings SET name = 'png_to_jpg_quality' WHERE name = 'convert_pasted_images_quality'"
|
||||
end
|
||||
|
||||
def down
|
||||
execute "UPDATE site_settings SET name = 'convert_pasted_images_quality' WHERE name = 'png_to_jpg_quality'"
|
||||
end
|
||||
end
|
Loading…
Reference in New Issue