Sha256: 1388535a795b179141079f472b24acd0e07af344c6e0ccb29782a1861c19109f

Contents?: true

Size: 364 Bytes

Versions: 3

Compression:

Stored size: 364 Bytes

Contents

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

class AttachmentUploadCards < Card::CoreMigration
  def up
    Card.create! :name=>'*new file', :type=>'File', :codename=>'new_file'
    Card.create! :name=>'*new image', :type=>'Image', :codename=>'new_image'

    if js_output = Card['*all+*script+*machine output']
      #perhaps too narrow?
      js_output.delete!
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
card-1.16.6 db/migrate_core_cards/20150903130006_attachment_upload_cards.rb
card-1.16.5 db/migrate_core_cards/20150903130006_attachment_upload_cards.rb
card-1.16.4 db/migrate_core_cards/20150903130006_attachment_upload_cards.rb