The code powering m.abunchtell.com https://m.abunchtell.com
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

12 lines
215 B

  1. class AddAttachmentDataToImports < ActiveRecord::Migration[4.2]
  2. def self.up
  3. change_table :imports do |t|
  4. t.attachment :data
  5. end
  6. end
  7. def self.down
  8. remove_attachment :imports, :data
  9. end
  10. end