Sha256: 04e370f6f216c6f1ca2e3b41af4833e5e0890a2db4e1731aee97a7cf39ee7304

Contents?: true

Size: 669 Bytes

Versions: 13

Compression:

Stored size: 669 Bytes

Contents

class CreateMaskedImageFiles < ActiveRecord::Migration[4.2]
  def change
    create_table :pageflow_linkmap_page_masked_image_files do |t|
      t.belongs_to :entry, index: true
      t.string     :state
      t.string     :rights
      t.integer    :parent_file_id
      t.string     :parent_file_model_type

      t.belongs_to :source_image_file
      t.belongs_to :color_map_file
      t.string     :attachment_file_name
      t.integer    :processing_progress, default: 0, null: false

      t.timestamps

      t.index([:parent_file_id, :parent_file_model_type],
              name: 'index_masked_image_files_on_parent_id_and_parent_model_type')
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
pageflow-linkmap-page-2.10.0 db/migrate/20171106151700_create_masked_image_files.rb
pageflow-linkmap-page-2.9.0 db/migrate/20171106151700_create_masked_image_files.rb
pageflow-linkmap-page-2.8.0 db/migrate/20171106151700_create_masked_image_files.rb
pageflow-linkmap-page-2.7.1 db/migrate/20171106151700_create_masked_image_files.rb
pageflow-linkmap-page-2.7.0 db/migrate/20171106151700_create_masked_image_files.rb
pageflow-linkmap-page-2.6.1 db/migrate/20171106151700_create_masked_image_files.rb
pageflow-linkmap-page-2.6.0 db/migrate/20171106151700_create_masked_image_files.rb
pageflow-linkmap-page-2.5.0 db/migrate/20171106151700_create_masked_image_files.rb
pageflow-linkmap-page-2.4.0 db/migrate/20171106151700_create_masked_image_files.rb
pageflow-linkmap-page-2.3.0 db/migrate/20171106151700_create_masked_image_files.rb
pageflow-linkmap-page-2.2.0 db/migrate/20171106151700_create_masked_image_files.rb
pageflow-linkmap-page-2.1.0 db/migrate/20171106151700_create_masked_image_files.rb
pageflow-linkmap-page-2.0.0 db/migrate/20171106151700_create_masked_image_files.rb