blob: 5b8d1cb4ee1cb1c8d202f9004a531b50918ae23d [file] [log] [blame]
Taka Cho8583b512020-11-12 17:48:30 -05001#!/usr/bin/env ash
Jorge Hernandez449fae72018-05-13 23:04:14 -05002
3# ============LICENSE_START=======================================================
4# ONAP
5# ================================================================================
Taka Cho8583b512020-11-12 17:48:30 -05006# Copyright (C) 2018-2020 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