Sha256: 2efc52ecc16fe1460b8196859f273f0f5ac38c896a8f3e37a6b67ebd91cc41ef

Contents?: true

Size: 444 Bytes

Versions: 1

Compression:

Stored size: 444 Bytes

Contents

# This migration comes from s3_multipart 
class CreateS3MultipartUploads < ActiveRecord::Migration
  def change
    create_table :s3_multipart_uploads do |t|
      t.string :location
      t.string :upload_id
      t.string :key
      t.string :name
      t.string :uploader
      t.integer :size
      # additional options useful for constructing associations for the uploaded model
      t.text :context

      t.timestamps
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
s3_multipart-0.0.10.6 lib/generators/s3_multipart/templates/uploads_table_migration.rb