Sha256: 3c7f63a611cf4879c6e72b5c72018c7ab909d25e5af7f46510b8252ff2d77cf1

Contents?: true

Size: 250 Bytes

Versions: 6

Compression:

Stored size: 250 Bytes

Contents

class AddAttachmentAttachmentToCarrierTypes < ActiveRecord::Migration[5.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

6 entries across 6 versions & 6 rubygems

Version Path
enju_inventory-0.4.0.rc.1 spec/dummy/db/migrate/20160820004638_add_attachment_attachment_to_carrier_types.rb
enju_ndl-0.4.0.rc.1 spec/dummy/db/migrate/20160820004638_add_attachment_attachment_to_carrier_types.rb
enju_circulation-0.4.0.rc.1 spec/dummy/db/migrate/20160820004638_add_attachment_attachment_to_carrier_types.rb
enju_manifestation_viewer-0.4.0.rc.1 spec/dummy/db/migrate/20160820004638_add_attachment_attachment_to_carrier_types.rb
enju_subject-0.4.0.rc.1 spec/dummy/db/migrate/20160820004638_add_attachment_attachment_to_carrier_types.rb
enju_event-0.4.0.rc.1 spec/dummy/db/migrate/20160820004638_add_attachment_attachment_to_carrier_types.rb