12 lines
280 B
Ruby
12 lines
280 B
Ruby
|
# frozen_string_literal: true
|
||
|
|
||
|
class RenameDeprecatedBadgeIcons < ActiveRecord::Migration[5.2]
|
||
|
def up
|
||
|
execute "UPDATE badges SET icon = 'far-clock' WHERE icon = 'fa-clock-o'"
|
||
|
execute "UPDATE badges SET icon = 'far-eye' WHERE icon = 'fa-eye'"
|
||
|
end
|
||
|
|
||
|
def down
|
||
|
end
|
||
|
end
|