Sha256: 21c94b0b8e131012e23ed567e180da996401dc8350e2c62b0078500462c75dec

Contents?: true

Size: 468 Bytes

Versions: 1

Compression:

Stored size: 468 Bytes

Contents

class CreateS3RelayUploads < ActiveRecord::Migration[5.0]
  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.7.0 db/migrate/20141009000804_create_s3_relay_uploads.rb