Sha256: d8a8ea199bc743e5c46864a083469eeffd06646da301200f4277b95f23f968cb

Contents?: true

Size: 372 Bytes

Versions: 103

Compression:

Stored size: 372 Bytes

Contents

class AddResourceToSolrDocumentSidecar < ActiveRecord::Migration[4.2]
  def change
    add_column :spotlight_solr_document_sidecars, :resource_id, :integer
    add_column :spotlight_solr_document_sidecars, :resource_type, :string

    add_index :spotlight_solr_document_sidecars, [:resource_type, :resource_id], name: 'spotlight_solr_document_sidecars_resource'
  end
end

Version data entries

103 entries across 103 versions & 1 rubygems

Version Path
blacklight-spotlight-3.5.0.3 db/migrate/20160815165432_add_resource_to_solr_document_sidecar.rb
blacklight-spotlight-3.6.0.beta6 db/migrate/20160815165432_add_resource_to_solr_document_sidecar.rb
blacklight-spotlight-3.6.0.beta5 db/migrate/20160815165432_add_resource_to_solr_document_sidecar.rb
blacklight-spotlight-3.6.0.beta4 db/migrate/20160815165432_add_resource_to_solr_document_sidecar.rb
blacklight-spotlight-3.6.0.beta3 db/migrate/20160815165432_add_resource_to_solr_document_sidecar.rb
blacklight-spotlight-3.6.0.beta1 db/migrate/20160815165432_add_resource_to_solr_document_sidecar.rb
blacklight-spotlight-3.5.0.2 db/migrate/20160815165432_add_resource_to_solr_document_sidecar.rb
blacklight-spotlight-3.5.0.1 db/migrate/20160815165432_add_resource_to_solr_document_sidecar.rb
blacklight-spotlight-3.5.0 db/migrate/20160815165432_add_resource_to_solr_document_sidecar.rb
blacklight-spotlight-3.4.4.1 db/migrate/20160815165432_add_resource_to_solr_document_sidecar.rb
blacklight-spotlight-3.4.4 db/migrate/20160815165432_add_resource_to_solr_document_sidecar.rb
blacklight-spotlight-3.4.3 db/migrate/20160815165432_add_resource_to_solr_document_sidecar.rb
blacklight-spotlight-3.4.2.2 db/migrate/20160815165432_add_resource_to_solr_document_sidecar.rb
blacklight-spotlight-3.4.2.1 db/migrate/20160815165432_add_resource_to_solr_document_sidecar.rb
blacklight-spotlight-3.4.2 db/migrate/20160815165432_add_resource_to_solr_document_sidecar.rb
blacklight-spotlight-3.4.1 db/migrate/20160815165432_add_resource_to_solr_document_sidecar.rb
blacklight-spotlight-3.4.0 db/migrate/20160815165432_add_resource_to_solr_document_sidecar.rb
blacklight-spotlight-3.3.0 db/migrate/20160815165432_add_resource_to_solr_document_sidecar.rb
blacklight-spotlight-3.2.0 db/migrate/20160815165432_add_resource_to_solr_document_sidecar.rb
blacklight-spotlight-3.1.0 db/migrate/20160815165432_add_resource_to_solr_document_sidecar.rb