Sha256: e4e976c36540bb067915515ca46d1859fd863b15eae724bf920e4c0810318258

Contents?: true

Size: 777 Bytes

Versions: 8

Compression:

Stored size: 777 Bytes

Contents

# -*- encoding : utf-8 -*-

class InputType < Card::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 } do |cov_rule|
      cov_rule.delete!
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
card-1.100.0 db/migrate_core_cards/20190902193208_input_type.rb
card-1.99.6 db/migrate_core_cards/20190902193208_input_type.rb
card-1.99.5 db/migrate_core_cards/20190902193208_input_type.rb
card-1.99.4 db/migrate_core_cards/20190902193208_input_type.rb
card-1.99.3 db/migrate_core_cards/20190902193208_input_type.rb
card-1.99.2 db/migrate_core_cards/20190902193208_input_type.rb
card-1.99.1 db/migrate_core_cards/20190902193208_input_type.rb
card-1.99.0 db/migrate_core_cards/20190902193208_input_type.rb