Sha256: 3acce94525c1a8030867041594c2607e342adab08b2c0414dadf2004097aa6e2

Contents?: true

Size: 268 Bytes

Versions: 1

Compression:

Stored size: 268 Bytes

Contents

class AddAttachmentIdToManifestation < ActiveRecord::Migration[5.1]
  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.4.0.beta.1 spec/dummy/db/migrate/20150302110310_add_attachment_id_to_manifestation.rb