Skip to content

Commit

Permalink
remove not needed spaces join
Browse files Browse the repository at this point in the history
  • Loading branch information
johha committed Dec 20, 2022
1 parent abb7123 commit 8a28d92
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions app/models/services/service_credential_binding_view.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ module Types
Sequel.as(:service_keys__id, :id),
Sequel.as(:service_keys__guid, :guid),
Sequel.as(Types::SERVICE_KEY, :type),
Sequel.as(:spaces__id, :space_id),
Sequel.as(:service_instances__space_id, :space_id),
Sequel.as(:service_keys__created_at, :created_at),
Sequel.as(:service_keys__updated_at, :updated_at),
Sequel.as(:service_keys__name, :name),
Expand All @@ -36,8 +36,6 @@ module Types
:service_plans, id: Sequel[:service_instances][:service_plan_id]
).left_join(
:services, id: Sequel[:service_plans][:service_id]
).join(
:spaces, id: Sequel[:service_instances][:space_id]
).freeze

SERVICE_BINDING_VIEW = Sequel::Model(:service_bindings).select(
Expand Down

0 comments on commit 8a28d92

Please sign in to comment.