Skip to content
Snippets Groups Projects
Commit b603e5cc authored by Jorrit Schaap's avatar Jorrit Schaap
Browse files

Task #8887: fixed column name in view

parent 17e26287
Branches
Tags
No related merge requests found
...@@ -278,7 +278,7 @@ COMMENT ON VIEW virtual_instrument.resource_view ...@@ -278,7 +278,7 @@ COMMENT ON VIEW virtual_instrument.resource_view
CREATE OR REPLACE VIEW resource_allocation.resource_claim_extended_view AS CREATE OR REPLACE VIEW resource_allocation.resource_claim_extended_view AS
SELECT rcv.*, rv.name as resource_name, rv.type_id as resource_type_id, rv.name as resource_type_name SELECT rcv.*, rv.name as resource_name, rv.type_id as resource_type_id, rv.type_name as resource_type_name
FROM resource_allocation.resource_claim_view rcv FROM resource_allocation.resource_claim_view rcv
JOIN virtual_instrument.resource_view rv ON rcv.resource_id = rv.id; JOIN virtual_instrument.resource_view rv ON rcv.resource_id = rv.id;
ALTER TABLE resource_allocation.resource_claim_extended_view ALTER TABLE resource_allocation.resource_claim_extended_view
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment