Sha256: b23b299bf0ef866ab975de9fa129242aa18e40759a1db6dd96e202861931de5d
Contents?: true
Size: 358 Bytes
Versions: 8
Compression:
Stored size: 358 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
8 entries across 8 versions & 1 rubygems