Skip to content

Commit

Permalink
chore: change column source
Browse files Browse the repository at this point in the history
  • Loading branch information
bethesque committed Oct 27, 2019
1 parent 47f7c15 commit b4b0324
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ def latest_tagged_pact_consumer_version_orders_v3(connection)
connection.from(view)
.select_group(
Sequel[:lp][:provider_id],
Sequel[:lp][:consumer_id]
Sequel[:lp][:consumer_id],
Sequel[:t][:name].as(:tag_name))
.select_append{ max(order).as(latest_consumer_version_order) }
.join(:versions, { Sequel[:lp][:consumer_version_id] => Sequel[:cv][:id] }, { table_alias: :cv} )
Expand Down

0 comments on commit b4b0324

Please sign in to comment.