Adds down SQL statements to badge icons migration

follows up on a571efba
This commit is contained in:
Penar Musaraj 2019-07-17 09:15:13 -04:00
parent 4f0004a0c2
commit 98866ca043
1 changed files with 2 additions and 0 deletions

View File

@ -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