From 15d6255150d9d9d04694d57c3ad9bf9296ce19d1 Mon Sep 17 00:00:00 2001 From: alaskowski <alaskowski@ethz.ch> Date: Fri, 9 Jun 2023 09:26:07 +0200 Subject: [PATCH] SSDM-13637: Fixed sb migration script --- .../sql/postgresql/migration/migration-191-192.sql | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/server-application-server/source/sql/postgresql/migration/migration-191-192.sql b/server-application-server/source/sql/postgresql/migration/migration-191-192.sql index 48999d1968d..19f2327395d 100644 --- a/server-application-server/source/sql/postgresql/migration/migration-191-192.sql +++ b/server-application-server/source/sql/postgresql/migration/migration-191-192.sql @@ -9,11 +9,11 @@ ALTER TABLE IF EXISTS SAMPLE_TYPES ADD COLUMN META_DATA jsonb; CREATE OR REPLACE VIEW samples AS - SELECT id, perm_id, code, proj_id, proj_frozen, expe_id, expe_frozen, saty_id, registration_timestamp, - modification_timestamp, pers_id_registerer, pers_id_modifier, del_id, orig_del, space_id, space_frozen, - samp_id_part_of, cont_frozen, version, frozen, frozen_for_comp, frozen_for_children, frozen_for_parents, frozen_for_data, tsvector_document, sample_identifier - FROM samples_all - WHERE del_id IS NULL; + SELECT id, perm_id, code, proj_id, proj_frozen, expe_id, expe_frozen, saty_id, registration_timestamp, + modification_timestamp, pers_id_registerer, pers_id_modifier, del_id, orig_del, space_id, space_frozen, + samp_id_part_of, cont_frozen, version, frozen, frozen_for_comp, frozen_for_children, frozen_for_parents, frozen_for_data, tsvector_document, sample_identifier, meta_data + FROM samples_all + WHERE del_id IS NULL; ALTER TABLE IF EXISTS EXPERIMENTS_ALL -- GitLab