From d44fceebbd37108a15f45fbf5813d413efeb2ac6 Mon Sep 17 00:00:00 2001 From: Ruslan Kashapov Date: Fri, 26 Feb 2021 11:42:29 +0200 Subject: CSIT: Integration tests for CPS Core + also fixes issue with fragment_id sequence not reflecting data loaded Issue-ID: CPS-261 Change-Id: If590d6a0859a1acc9005dd2da952b7dd93a23059 Signed-off-by: Ruslan Kashapov --- .../resources/changelog/db/changes/05-loadData-fragment.yaml | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'cps-ri/src/main/resources') diff --git a/cps-ri/src/main/resources/changelog/db/changes/05-loadData-fragment.yaml b/cps-ri/src/main/resources/changelog/db/changes/05-loadData-fragment.yaml index 1a31f424a4..8abf980d81 100644 --- a/cps-ri/src/main/resources/changelog/db/changes/05-loadData-fragment.yaml +++ b/cps-ri/src/main/resources/changelog/db/changes/05-loadData-fragment.yaml @@ -40,3 +40,13 @@ databaseChangeLog: header: schema_node_id name: schema_node_id type: NUMERIC + + - changeSet: + author: cps + label: xnf-data-preload + id: 5.1 + changes: + - sql: + comment: Fixes the id sequence after data insert with predefined ids + dbms: postgresql + sql: ALTER SEQUENCE IF EXISTS fragment_id_seq RESTART WITH 200 \ No newline at end of file -- cgit 1.2.3-korg