Sha256: 41bff4561e6f20570bd8441fae02c5f312a80d6c2f9ac4f5b4010a0b52a65efb

Contents?: true

Size: 268 Bytes

Versions: 1

Compression:

Stored size: 268 Bytes

Contents

class AddAttachmentIdToManifestation < ActiveRecord::Migration[5.0]
  def change
    add_column :manifestations, :attachment_id, :string
    rename_column :manifestations, :attachment_file_size, :attachment_size
    add_index :manifestations, :attachment_id
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
enju_seed-0.3.0.beta.4 spec/dummy/db/migrate/20150302110310_add_attachment_id_to_manifestation.rb