Sha256: 48a1a09781d776efb2b020dd9c6af544bfec2b4b384c25202ff363eee6333a00

Contents?: true

Size: 231 Bytes

Versions: 7

Compression:

Stored size: 231 Bytes

Contents

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

class AddAceScript < Card::CoreMigration
  def up
    Card[:all].fetch(trait: :script).add_item! 'script: ace'

    Card.create! name: 'script: ace', codename: 'script_ace', type: 'JavaScript'
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
card-1.18.6 db/migrate_core_cards/20141208162106_add_ace_script.rb
card-1.18.5 db/migrate_core_cards/20141208162106_add_ace_script.rb
card-1.18.4 db/migrate_core_cards/20141208162106_add_ace_script.rb
card-1.18.3 db/migrate_core_cards/20141208162106_add_ace_script.rb
card-1.18.2 db/migrate_core_cards/20141208162106_add_ace_script.rb
card-1.18.1 db/migrate_core_cards/20141208162106_add_ace_script.rb
card-1.18.0 db/migrate_core_cards/20141208162106_add_ace_script.rb