Sha256: 9f9650056295d3e9743b0e2ff2a0ce91dc07c5ffdc9b5105cfde95b99e897103

Contents?: true

Size: 255 Bytes

Versions: 3

Compression:

Stored size: 255 Bytes

Contents

class AddIndexToAccountabilityResultsOnExternalId < ActiveRecord::Migration[5.0]
  def change
    add_index :decidim_accountability_results, [:decidim_feature_id, :external_id], unique: true, name: :decidim_accountability_results_on_external_id
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
decidim-accountability-0.1.2 db/migrate/20170606102902_add_index_to_accountability_results_on_external_id.rb
decidim-accountability-0.1.1 db/migrate/20170606102902_add_index_to_accountability_results_on_external_id.rb
decidim-accountability-0.1.0 db/migrate/20170606102902_add_index_to_accountability_results_on_external_id.rb