# -*- encoding : utf-8 -*- class UpdateCreditImage < Cardio::Migration::Core def svg attr="" <<-SVG.strip_heredoc b&w_logo Created with Sketch. SVG end def up credit = ensure_card "*credit_image", codename: :credit_image return unless credit&.pristine? credit.update type_id: Card::HtmlID, content: svg("width:18px; height:14px;") end end