1 # ============LICENSE_START=======================================================
2 # Copyright (C) 2021 Nordix Foundation
3 # ================================================================================
4 # Licensed under the Apache License, Version 2.0 (the "License");
5 # you may not use this file except in compliance with the License.
6 # You may obtain a copy of the License at
8 # http://www.apache.org/licenses/LICENSE-2.0
9 # Unless required by applicable law or agreed to in writing, software
10 # distributed under the License is distributed on an "AS IS" BASIS,
11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 # See the License for the specific language governing permissions and
13 # limitations under the License.
15 # SPDX-License-Identifier: Apache-2.0
16 # ============LICENSE_END=========================================================
21 label: xnf-data-preload
25 file: 'changelog/db/changes/data/fragment.csv'
57 header: schema_node_id
63 label: xnf-data-preload
67 comment: Fixes the id sequence after data insert with predefined ids
69 sql: ALTER SEQUENCE IF EXISTS fragment_id_seq RESTART WITH 200