Sha256: 2b7bcb9d2b17af9a41e83a475c6b1cc2b2fdc827fc9fecd5101091cd6fa5e131

Contents?: true

Size: 664 Bytes

Versions: 1

Compression:

Stored size: 664 Bytes

Contents

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

1 entries across 1 versions & 1 rubygems

Version Path
pageflow-linkmap-page-1.5.0 db/migrate/20171106151700_create_masked_image_files.rb