Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
LOFAR
Manage
Activity
Members
Labels
Plan
Issues
Wiki
Jira issues
Open Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
RadioObservatory
LOFAR
Commits
b603e5cc
Commit
b603e5cc
authored
9 years ago
by
Jorrit Schaap
Browse files
Options
Downloads
Patches
Plain Diff
Task #8887: fixed column name in view
parent
17e26287
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
SAS/ResourceAssignment/ResourceAssignmentDatabase/sql/create_database.sql
+1
-1
1 addition, 1 deletion
...gnment/ResourceAssignmentDatabase/sql/create_database.sql
with
1 addition
and
1 deletion
SAS/ResourceAssignment/ResourceAssignmentDatabase/sql/create_database.sql
+
1
−
1
View file @
b603e5cc
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment