Sha256: 10b174ad32c312e83d35882192ee01c77c948a9dbb1e8dc63d04dc18fea830e8

Contents?: true

Size: 250 Bytes

Versions: 144

Compression:

Stored size: 250 Bytes

Contents

class AddAttachmentAttachmentToCarrierTypes < ActiveRecord::Migration[4.2]
  def self.up
    change_table :carrier_types do |t|
      t.attachment :attachment
    end
  end

  def self.down
    remove_attachment :carrier_types, :attachment
  end
end

Version data entries

144 entries across 144 versions & 21 rubygems

Version Path
enju_biblio-0.3.12 db/migrate/20160820004638_add_attachment_attachment_to_carrier_types.rb
enju_oai-0.3.1 spec/dummy/db/migrate/20160820004638_add_attachment_attachment_to_carrier_types.rb
enju_biblio-0.3.11 db/migrate/20160820004638_add_attachment_attachment_to_carrier_types.rb
enju_library-0.3.9 spec/dummy/db/migrate/20160820004638_add_attachment_attachment_to_carrier_types.rb
enju_nii-0.3.1 spec/dummy/db/migrate/20160820004638_add_attachment_attachment_to_carrier_types.rb
enju_subject-0.3.3 spec/dummy/db/migrate/20160820004638_add_attachment_attachment_to_carrier_types.rb
enju_question-0.3.2 spec/dummy/db/migrate/20160820004638_add_attachment_attachment_to_carrier_types.rb
enju_manifestation_viewer-0.3.5 spec/dummy/db/migrate/20160820004638_add_attachment_attachment_to_carrier_types.rb
enju_message-0.3.3 spec/dummy/db/migrate/20160820004638_add_attachment_attachment_to_carrier_types.rb
enju_biblio-0.3.10 db/migrate/20160820004638_add_attachment_attachment_to_carrier_types.rb
enju_library-0.3.8 spec/dummy/db/migrate/20160820004638_add_attachment_attachment_to_carrier_types.rb
enju_biblio-0.3.10.rc.3 db/migrate/20160820004638_add_attachment_attachment_to_carrier_types.rb
enju_biblio-0.3.10.rc.2 db/migrate/20160820004638_add_attachment_attachment_to_carrier_types.rb
enju_library-0.3.8.rc.2 spec/dummy/db/migrate/20160820004638_add_attachment_attachment_to_carrier_types.rb
enju_library-0.3.8.rc.1 spec/dummy/db/migrate/20160820004638_add_attachment_attachment_to_carrier_types.rb
enju_biblio-0.3.10.rc.1 db/migrate/20160820004638_add_attachment_attachment_to_carrier_types.rb
enju_seed-0.3.5 spec/dummy/db/migrate/20160820004638_add_attachment_attachment_to_carrier_types.rb
enju_biblio-0.3.9 db/migrate/20160820004638_add_attachment_attachment_to_carrier_types.rb
enju_ndl-0.3.2 spec/dummy/db/migrate/20160820004638_add_attachment_attachment_to_carrier_types.rb
enju_inventory-0.3.1 spec/dummy/db/migrate/20160820004638_add_attachment_attachment_to_carrier_types.rb