mirror of
https://github.com/discourse/discourse.git
synced 2025-04-01 11:16:42 +08:00
Adds down SQL statements to badge icons migration
follows up on a571efba
This commit is contained in:
parent
4f0004a0c2
commit
98866ca043
@ -7,5 +7,7 @@ class RenameDeprecatedBadgeIcons < ActiveRecord::Migration[5.2]
|
|||||||
end
|
end
|
||||||
|
|
||||||
def down
|
def down
|
||||||
|
execute "UPDATE badges SET icon = 'fa-clock-o' WHERE icon = 'far-clock'"
|
||||||
|
execute "UPDATE badges SET icon = 'fa-eye' WHERE icon = 'far-eye'"
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user