Sha256: 1f4f4142f0f40340ff9b268a06b63fb34078d4a202df2ee5d3ef8671db02ce0c

Contents?: true

Size: 463 Bytes

Versions: 14

Compression:

Stored size: 463 Bytes

Contents

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

14 entries across 14 versions & 1 rubygems

Version Path
s3_relay-0.6.1 db/migrate/20141009000804_create_s3_relay_uploads.rb
s3_relay-0.6.0 db/migrate/20141009000804_create_s3_relay_uploads.rb
s3_relay-0.5.1 db/migrate/20141009000804_create_s3_relay_uploads.rb
s3_relay-0.5.0 db/migrate/20141009000804_create_s3_relay_uploads.rb
s3_relay-0.4.2 db/migrate/20141009000804_create_s3_relay_uploads.rb
s3_relay-0.4.1 db/migrate/20141009000804_create_s3_relay_uploads.rb
s3_relay-0.4.0 db/migrate/20141009000804_create_s3_relay_uploads.rb
s3_relay-0.3.2 db/migrate/20141009000804_create_s3_relay_uploads.rb
s3_relay-0.3.1 db/migrate/20141009000804_create_s3_relay_uploads.rb
s3_relay-0.3.0 db/migrate/20141009000804_create_s3_relay_uploads.rb
s3_relay-0.2.0 db/migrate/20141009000804_create_s3_relay_uploads.rb
s3_relay-0.1.0 db/migrate/20141009000804_create_s3_relay_uploads.rb
s3_relay-0.0.3 db/migrate/20141009000804_create_s3_relay_uploads.rb
s3_relay-0.0.2 db/migrate/20141009000804_create_s3_relay_uploads.rb