Sha256: 9c94bd5a3ff0015ed2cf64421d56b360b9e690d1bb4d48a3117b24d325f3aae9

Contents?: true

Size: 801 Bytes

Versions: 24

Compression:

Stored size: 801 Bytes

Contents

class CreateTestHostedFile < ActiveRecord::Migration[4.2]
  def change
    create_table :test_hosted_files do |t|
      t.belongs_to(:entry, index: true)
      t.belongs_to(:uploader, index: true)

      t.integer(:parent_file_id)
      t.string(:parent_file_model_type)

      t.string(:state)
      t.string(:rights)

      t.string(:attachment_on_filesystem_file_name)
      t.string(:attachment_on_filesystem_content_type)
      t.integer(:attachment_on_filesystem_file_size, limit: 8)
      t.datetime(:attachment_on_filesystem_updated_at)

      t.string(:attachment_on_s3_file_name)
      t.string(:attachment_on_s3_content_type)
      t.integer(:attachment_on_s3_file_size, limit: 8)
      t.datetime(:attachment_on_s3_updated_at)

      t.timestamps

      t.string :custom
    end
  end
end

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
pageflow-support-14.5.2 pageflow/dummy/templates/create_test_hosted_file.rb
pageflow-support-14.5.1 pageflow/dummy/templates/create_test_hosted_file.rb
pageflow-support-14.5.0 pageflow/dummy/templates/create_test_hosted_file.rb
pageflow-support-14.4.0 pageflow/dummy/templates/create_test_hosted_file.rb
pageflow-support-14.3.0 pageflow/dummy/templates/create_test_hosted_file.rb
pageflow-support-14.2.1 pageflow/dummy/templates/create_test_hosted_file.rb
pageflow-support-14.2.0 pageflow/dummy/templates/create_test_hosted_file.rb
pageflow-support-14.1.1 pageflow/dummy/templates/create_test_hosted_file.rb
pageflow-support-14.1.0 pageflow/dummy/templates/create_test_hosted_file.rb
pageflow-support-14.0.0 pageflow/dummy/templates/create_test_hosted_file.rb
pageflow-support-14.0.0.rc2 pageflow/dummy/templates/create_test_hosted_file.rb
pageflow-support-14.0.0.rc1 pageflow/dummy/templates/create_test_hosted_file.rb
pageflow-support-14.0.0.beta3 pageflow/dummy/templates/create_test_hosted_file.rb
pageflow-support-14.0.0.beta2 pageflow/dummy/templates/create_test_hosted_file.rb
pageflow-support-14.0.0.beta1 pageflow/dummy/templates/create_test_hosted_file.rb
pageflow-support-13.6.0 pageflow/dummy/templates/create_test_hosted_file.rb
pageflow-support-13.5.0 pageflow/dummy/templates/create_test_hosted_file.rb
pageflow-support-13.4.0 pageflow/dummy/templates/create_test_hosted_file.rb
pageflow-support-13.3.0 pageflow/dummy/templates/create_test_hosted_file.rb
pageflow-support-13.2.0 pageflow/dummy/templates/create_test_hosted_file.rb