Sha256: fc589968bdc906d0ebcef94312172ad6d21322629dcd897f7ed002e4e751b516

Contents?: true

Size: 328 Bytes

Versions: 1

Compression:

Stored size: 328 Bytes

Contents

class CreateUpdatedFiles < ActiveRecord::Migration[4.2]
  include Paperclip::Schema

  def change
    create_table :update_request_updated_files do |t|
      t.belongs_to :request
      t.string :attribute_reference
      t.timestamps null: false
    end

    add_attachment :update_request_updated_files, :attachment
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
update_request-0.1.0 db/migrate/20160105123721_create_updated_files.rb