Sha256: ed82c06f05795f6b144082b5683dbd3fc87ea18016cf4d7a3997210ebb5fbd18

Contents?: true

Size: 294 Bytes

Versions: 6

Compression:

Stored size: 294 Bytes

Contents

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

6 entries across 6 versions & 1 rubygems

Version Path
update_request-0.0.6 db/migrate/20160105123721_create_updated_files.rb
update_request-0.0.5 db/migrate/20160105123721_create_updated_files.rb
update_request-0.0.4 db/migrate/20160105123721_create_updated_files.rb
update_request-0.0.3 db/migrate/20160105123721_create_updated_files.rb
update_request-0.0.2 db/migrate/20160105123721_create_updated_files.rb
update_request-0.0.1 db/migrate/20160105123721_create_updated_files.rb