Sha256: f164e221dd3859c3b209c3eab3f47c315f8e3b2f72bf3fb9f06a8d6345e72a6d
Contents?: true
Size: 427 Bytes
Versions: 7
Compression:
Stored size: 427 Bytes
Contents
# -*- encoding : utf-8 -*- class AttachmentUploadCards < Card::CoreMigration def up Card.create! name: '*new file', type: 'File', codename: 'new_file', empty_ok: true Card.create! name: '*new image', type: 'Image', codename: 'new_image', empty_ok: true if (js_output = Card['*all+*script+*machine output']) # perhaps too narrow? js_output.delete! end end end
Version data entries
7 entries across 7 versions & 1 rubygems