Sha256: a69fd52571cc4e7f2a2c6c61fe2749e7e2aea7f634cdcc307ab523ec28ffa1ec

Contents?: true

Size: 468 Bytes

Versions: 1

Compression:

Stored size: 468 Bytes

Contents

class CreateS3RelayUploads < ActiveRecord::Migration[4.2]
  def change
    create_table :s3_relay_uploads do |t|
      t.binary :uuid, length: 16
      t.integer :user_id
      t.string :parent_type
      t.integer :parent_id
      t.string :upload_type
      t.text :filename
      t.string :content_type
      t.string :state
      t.column :data, :json, default: "{}"
      t.datetime :pending_at
      t.datetime :imported_at

      t.timestamps
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
s3_relay-0.6.2 db/migrate/20141009000804_create_s3_relay_uploads.rb