Sha256: 77a7a4cc02b12382f011f9f77ccb7275aedf81966686c00765b986d8b1f2fd34

Contents?: true

Size: 539 Bytes

Versions: 5

Compression:

Stored size: 539 Bytes

Contents

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

class InputType < Cardio::Migration::Core
  def up
    update_card! :input, name: "*input type", codename: "input_type"
    update_card! :options, name: "*content options", codename: "content_options"
    update_card! :options_label, name: "*content option view",
                                 codename: "content_option_view"

    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

5 entries across 5 versions & 1 rubygems

Version Path
card-1.104.2 db/migrate_core_cards/20190902193208_input_type.rb
card-1.104.1 db/migrate_core_cards/20190902193208_input_type.rb
card-1.104.0 db/migrate_core_cards/20190902193208_input_type.rb
card-1.103.4 db/migrate_core_cards/20190902193208_input_type.rb
card-1.103.3 db/migrate_core_cards/20190902193208_input_type.rb