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
cca8be8a
Commit
cca8be8a
authored
9 years ago
by
Jorrit Schaap
Browse files
Options
Downloads
Patches
Plain Diff
Task #8887: added sap_id column to view
parent
7b2c1b4b
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
SAS/ResourceAssignment/ResourceAssignmentDatabase/sql/create_database.sql
+1
-2
1 addition, 2 deletions
...gnment/ResourceAssignmentDatabase/sql/create_database.sql
with
1 addition
and
2 deletions
SAS/ResourceAssignment/ResourceAssignmentDatabase/sql/create_database.sql
+
1
−
2
View file @
cca8be8a
...
@@ -299,10 +299,9 @@ ALTER TABLE resource_allocation.resource_claim_extended_view
...
@@ -299,10 +299,9 @@ ALTER TABLE resource_allocation.resource_claim_extended_view
COMMENT
ON
VIEW
resource_allocation
.
resource_claim_extended_view
COMMENT
ON
VIEW
resource_allocation
.
resource_claim_extended_view
IS
'extended view on resource_claim table, including resource_claim_status.name and the resource itself'
;
IS
'extended view on resource_claim table, including resource_claim_status.name and the resource itself'
;
CREATE
OR
REPLACE
VIEW
resource_allocation
.
resource_claim_property_view
AS
CREATE
OR
REPLACE
VIEW
resource_allocation
.
resource_claim_property_view
AS
SELECT
rcp
.
id
,
rcp
.
resource_claim_id
,
rcp
.
value
,
rcp
.
type_id
,
SELECT
rcp
.
id
,
rcp
.
resource_claim_id
,
rcp
.
value
,
rcp
.
type_id
,
rcpt
.
name
AS
type_name
rcpt
.
name
AS
type_name
,
rcp
.
sap_id
FROM
resource_allocation
.
resource_claim_property
rcp
FROM
resource_allocation
.
resource_claim_property
rcp
JOIN
resource_allocation
.
resource_claim_property_type
rcpt
ON
rcpt
.
id
=
rcp
.
type_id
;
JOIN
resource_allocation
.
resource_claim_property_type
rcpt
ON
rcpt
.
id
=
rcp
.
type_id
;
ALTER
TABLE
resource_allocation
.
resource_claim_property_view
ALTER
TABLE
resource_allocation
.
resource_claim_property_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