Skip to content

Commit

Permalink
docs: comment table
Browse files Browse the repository at this point in the history
  • Loading branch information
bethesque committed Aug 26, 2019
1 parent 5aa668e commit 2e9611a
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
Sequel.migration do
up do
# The pact for the latest consumer version (ordered by consumer version order) *that has a pact* for each tag
# eg. For each tag, find all the consumer versions that have pacts, order them by consumer version order, then get the pact for the latest consumer version.
create_or_replace_view(:latest_tagged_pact_consumer_version_orders,
"select provider_id, consumer_id, t.name as tag_name, max(consumer_version_order) as latest_consumer_version_order
from latest_pact_publications_by_consumer_versions ap
Expand Down

0 comments on commit 2e9611a

Please sign in to comment.