Skip to content

Commit

Permalink
feat: add index to provider_version_id column in latest_verification_…
Browse files Browse the repository at this point in the history
…id_for_pact_version_and_provider_version
  • Loading branch information
bethesque committed Dec 14, 2022
1 parent 7a14747 commit 0e1c43d
Showing 1 changed file with 17 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
Sequel.migration do
up do
if !mysql?
alter_table(:latest_verification_id_for_pact_version_and_provider_version) do
add_index([:provider_version_id], name: "latest_verif_id_for_pact_ver_and_prov_ver_prov_ver_id_ndx")
end
end
end

down do
if !mysql?
alter_table(:latest_verification_id_for_pact_version_and_provider_version) do
drop_index([:provider_version_id], name: "latest_verif_id_for_pact_ver_and_prov_ver_prov_ver_id_ndx")
end
end
end
end

0 comments on commit 0e1c43d

Please sign in to comment.