blob: af202f569eb7550ac1795c4a90c22a1215cf56fa [file] [log] [blame]
Jim Hahn8f8a6d82021-04-07 09:32:31 -04001#!/usr/bin/env sh
Jorge Hernandez449fae72018-05-13 23:04:14 -05002
3# ============LICENSE_START=======================================================
4# ONAP
5# ================================================================================
Jim Hahn8f8a6d82021-04-07 09:32:31 -04006# Copyright (C) 2018-2021 AT&T Intellectual Property. All rights reserved.
Jorge Hernandez449fae72018-05-13 23:04:14 -05007# ================================================================================
8# Licensed under the Apache License, Version 2.0 (the "License");
9# you may not use this file except in compliance with the License.
10# You may obtain a copy of the License at
Taka Cho8583b512020-11-12 17:48:30 -050011#
Jorge Hernandez449fae72018-05-13 23:04:14 -050012# http://www.apache.org/licenses/LICENSE-2.0
Taka Cho8583b512020-11-12 17:48:30 -050013#
Jorge Hernandez449fae72018-05-13 23:04:14 -050014# Unless required by applicable law or agreed to in writing, software
15# distributed under the License is distributed on an "AS IS" BASIS,
16# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17# See the License for the specific language governing permissions and
18# limitations under the License.
19# ============LICENSE_END=========================================================
20
Taka Cho8583b512020-11-12 17:48:30 -050021if [ "${DEBUG}" = "y" ]; then
Jorge Hernandez449fae72018-05-13 23:04:14 -050022 set -x
23fi
24
25${POLICY_HOME}/bin/db-migrator -s pooling -o upgrade
26