Sha256: 891c361de0f43c222ae094b6f787e25e3f99ed3c6293c80050fffb74e10a5a7e

Contents?: true

Size: 245 Bytes

Versions: 51

Compression:

Stored size: 245 Bytes

Contents

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

51 entries across 45 versions & 16 rubygems

Version Path
enju_leaf-1.2.2 spec/dummy/db/migrate/20160820004638_add_attachment_attachment_to_carrier_types.rb
enju_manifestation_viewer-0.2.4 spec/dummy/db/migrate/20160820004638_add_attachment_attachment_to_carrier_types.rb
enju_library-0.2.5 spec/dummy/db/migrate/20160820004638_add_attachment_attachment_to_carrier_types.rb
enju_manifestation_viewer-0.2.3 spec/dummy/db/migrate/20160820004638_add_attachment_attachment_to_carrier_types.rb
enju_biblio-0.2.5 db/migrate/20160820004638_add_attachment_attachment_to_carrier_types.rb
enju_bookmark-0.2.2 spec/dummy/db/migrate/20160820004638_add_attachment_attachment_to_carrier_types.rb
enju_purchase_request-0.2.1 spec/dummy/db/migrate/20160820004638_add_attachment_attachment_to_carrier_types.rb
enju_inter_library_loan-0.2.0 spec/dummy/db/migrate/20160820004638_add_attachment_attachment_to_carrier_types.rb
enju_message-0.2.4 spec/dummy/db/migrate/20160820004638_add_attachment_attachment_to_carrier_types.rb
enju_event-0.2.3 spec/dummy/db/migrate/20160820004638_add_attachment_attachment_to_carrier_types.rb
enju_circulation-0.2.5 spec/dummy/db/migrate/20160820004638_add_attachment_attachment_to_carrier_types.rb
enju_biblio-0.2.4 db/migrate/20160820004638_add_attachment_attachment_to_carrier_types.rb
enju_manifestation_viewer-0.2.2 spec/dummy/db/migrate/20160820004638_add_attachment_attachment_to_carrier_types.rb
enju_library-0.2.4 spec/dummy/db/migrate/20160820004638_add_attachment_attachment_to_carrier_types.rb
enju_circulation-0.2.4 spec/dummy/db/migrate/20160820004638_add_attachment_attachment_to_carrier_types.rb
enju_nii-0.2.1 spec/dummy/db/migrate/20160820004638_add_attachment_attachment_to_carrier_types.rb
enju_bookmark-0.2.1 spec/dummy/db/migrate/20160820004638_add_attachment_attachment_to_carrier_types.rb
enju_circulation-0.2.3 spec/dummy/db/migrate/20160820004638_add_attachment_attachment_to_carrier_types.rb
enju_biblio-0.2.3 db/migrate/20160820004638_add_attachment_attachment_to_carrier_types.rb
enju_library-0.2.3 spec/dummy/db/migrate/20160820004638_add_attachment_attachment_to_carrier_types.rb