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