Sha256: 3094abd192f9ac749c7f46a35de074b29fdaac5e8020a52051b17a594a9c106b

Contents?: true

Size: 269 Bytes

Versions: 17

Compression:

Stored size: 269 Bytes

Contents

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

class ChangeBootstrapCardTypeToScss < Cardio::Migration::Core
  def up
    create_or_update! name: "*machine cache", codename: "machine_cache"
    if (card = Card[:bootstrap_cards])
      card.update! type_id: Card::ScssID
    end
  end
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
card-1.104.2 db/migrate_core_cards/20160801143221_change_bootstrap_card_type_to_scss.rb
card-1.104.1 db/migrate_core_cards/20160801143221_change_bootstrap_card_type_to_scss.rb
card-1.104.0 db/migrate_core_cards/20160801143221_change_bootstrap_card_type_to_scss.rb
card-1.103.4 db/migrate_core_cards/20160801143221_change_bootstrap_card_type_to_scss.rb
card-1.103.3 db/migrate_core_cards/20160801143221_change_bootstrap_card_type_to_scss.rb
card-1.103.2 db/migrate_core_cards/20160801143221_change_bootstrap_card_type_to_scss.rb
card-1.103.1 db/migrate_core_cards/20160801143221_change_bootstrap_card_type_to_scss.rb
card-1.103.0 db/migrate_core_cards/20160801143221_change_bootstrap_card_type_to_scss.rb
card-1.101.7 db/migrate_core_cards/20160801143221_change_bootstrap_card_type_to_scss.rb
card-1.102.0 db/migrate_core_cards/20160801143221_change_bootstrap_card_type_to_scss.rb
card-1.101.6 db/migrate_core_cards/20160801143221_change_bootstrap_card_type_to_scss.rb
card-1.101.5 db/migrate_core_cards/20160801143221_change_bootstrap_card_type_to_scss.rb
card-1.101.4 db/migrate_core_cards/20160801143221_change_bootstrap_card_type_to_scss.rb
card-1.101.3 db/migrate_core_cards/20160801143221_change_bootstrap_card_type_to_scss.rb
card-1.101.2 db/migrate_core_cards/20160801143221_change_bootstrap_card_type_to_scss.rb
card-1.101.1 db/migrate_core_cards/20160801143221_change_bootstrap_card_type_to_scss.rb
card-1.101.0 db/migrate_core_cards/20160801143221_change_bootstrap_card_type_to_scss.rb