Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
openbis
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
sispub
openbis
Commits
7d080b3b
Commit
7d080b3b
authored
1 year ago
by
Adam Laskowski
Browse files
Options
Downloads
Patches
Plain Diff
SSDM-13524: fixed database migration scripts
parent
6046b1e1
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!40
SSDM-13578 : 2PT : Database and V3 Implementation - include the new AFS "free"...
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
server-application-server/source/sql/postgresql/migration/migration-190-191.sql
+3
-6
3 additions, 6 deletions
...ver/source/sql/postgresql/migration/migration-190-191.sql
with
3 additions
and
6 deletions
server-application-server/source/sql/postgresql/migration/migration-190-191.sql
+
3
−
6
View file @
7d080b3b
...
@@ -183,8 +183,7 @@ ALTER TABLE DATA_SET_PROPERTIES_HISTORY ADD CONSTRAINT DSPRH_CK CHECK
...
@@ -183,8 +183,7 @@ ALTER TABLE DATA_SET_PROPERTIES_HISTORY ADD CONSTRAINT DSPRH_CK CHECK
DROP
VIEW
sample_history_view
;
CREATE
OR
REPLACE
VIEW
sample_history_view
AS
(
CREATE
VIEW
sample_history_view
AS
(
SELECT
SELECT
2
*
id
as
id
,
2
*
id
as
id
,
main_samp_id
,
main_samp_id
,
...
@@ -244,8 +243,7 @@ UNION
...
@@ -244,8 +243,7 @@ UNION
SAMPLE_PROPERTIES_HISTORY
;
SAMPLE_PROPERTIES_HISTORY
;
DROP
VIEW
data_set_history_view
;
CREATE
OR
REPLACE
VIEW
data_set_history_view
AS
(
CREATE
VIEW
data_set_history_view
AS
(
SELECT
SELECT
3
*
id
as
id
,
3
*
id
as
id
,
main_data_id
,
main_data_id
,
...
@@ -352,8 +350,7 @@ UNION
...
@@ -352,8 +350,7 @@ UNION
WHERE
WHERE
valid_until_timestamp
IS
NOT
NULL
);
valid_until_timestamp
IS
NOT
NULL
);
DROP
VIEW
experiment_history_view
;
CREATE
OR
REPLACE
VIEW
experiment_history_view
AS
(
CREATE
VIEW
experiment_history_view
AS
(
SELECT
SELECT
2
*
id
as
id
,
2
*
id
as
id
,
main_expe_id
,
main_expe_id
,
...
...
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