Skip to content
Snippets Groups Projects
Commit 7d080b3b authored by Adam Laskowski's avatar Adam Laskowski
Browse files

SSDM-13524: fixed database migration scripts

parent 6046b1e1
No related branches found
No related tags found
1 merge request!40SSDM-13578 : 2PT : Database and V3 Implementation - include the new AFS "free"...
...@@ -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,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment