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
|
||||
|
||||
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
|
||||
|
|
Loading…
Reference in New Issue