Sha256: 8000b038f2cd7c8f80ef609bbfd95fb57e4c5aa4f93fdf3f675777a1ec64126e

Contents?: true

Size: 277 Bytes

Versions: 3

Compression:

Stored size: 277 Bytes

Contents

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

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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
card-1.96.7 db/migrate_core_cards/20160801143221_change_bootstrap_card_type_to_scss.rb
card-1.96.6 db/migrate_core_cards/20160801143221_change_bootstrap_card_type_to_scss.rb
card-1.96.5 db/migrate_core_cards/20160801143221_change_bootstrap_card_type_to_scss.rb