Sha256: e2458328c16dd832c03d4825d0b199935a4bc0c57d1427f73ce70ebd84d80813
Contents?: true
Size: 745 Bytes
Versions: 7
Compression:
Stored size: 745 Bytes
Contents
# -*- encoding : utf-8 -*- class InputType < Cardio::Migration::Core def up update_card! :input, name: "*input type", codename: "input_type", update_referers: true update_card! :options, name: "*content options", codename: "content_options", update_referers: true update_card! :options_label, name: "*content option view", codename: "content_option_view", update_referers: true Card::Cache.reset_all ensure_card %i[all content_option_view], content: "smart_label" Card.search right: :content_option_view, left: { not: :all }, &:delete! end end
Version data entries
7 entries across 7 versions & 1 rubygems