Sha256: 965e0a384028785411ca99d501f4ada4e4b7e9a20a11b5c84453289b36cd11c4

Contents?: true

Size: 410 Bytes

Versions: 4

Compression:

Stored size: 410 Bytes

Contents

class CreateIiifPrintDerivativeAttachments < ActiveRecord::Migration[5.0]
  def change
    unless table_exists?(:iiif_print_derivative_attachments)
      create_table :iiif_print_derivative_attachments do |t|
        t.string :fileset_id
        t.string :path
        t.string :destination_name

        t.timestamps
      end
      add_index :iiif_print_derivative_attachments, :fileset_id
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
iiif_print-3.0.1 db/migrate/20181214181358_create_iiif_print_derivative_attachments.rb
iiif_print-3.0.0 db/migrate/20181214181358_create_iiif_print_derivative_attachments.rb
iiif_print-2.0.1 db/migrate/20181214181358_create_iiif_print_derivative_attachments.rb
iiif_print-2.0.0 db/migrate/20181214181358_create_iiif_print_derivative_attachments.rb