Jim Hahn | 8f8a6d8 | 2021-04-07 09:32:31 -0400 | [diff] [blame^] | 1 | #!/usr/bin/env sh |
Jorge Hernandez | 449fae7 | 2018-05-13 23:04:14 -0500 | [diff] [blame] | 2 | |
| 3 | # ============LICENSE_START======================================================= |
| 4 | # ONAP |
| 5 | # ================================================================================ |
Jim Hahn | 8f8a6d8 | 2021-04-07 09:32:31 -0400 | [diff] [blame^] | 6 | # Copyright (C) 2018-2021 AT&T Intellectual Property. All rights reserved. |
Jorge Hernandez | 449fae7 | 2018-05-13 23:04:14 -0500 | [diff] [blame] | 7 | # ================================================================================ |
| 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 Cho | 8583b51 | 2020-11-12 17:48:30 -0500 | [diff] [blame] | 11 | # |
Jorge Hernandez | 449fae7 | 2018-05-13 23:04:14 -0500 | [diff] [blame] | 12 | # http://www.apache.org/licenses/LICENSE-2.0 |
Taka Cho | 8583b51 | 2020-11-12 17:48:30 -0500 | [diff] [blame] | 13 | # |
Jorge Hernandez | 449fae7 | 2018-05-13 23:04:14 -0500 | [diff] [blame] | 14 | # 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 Cho | 8583b51 | 2020-11-12 17:48:30 -0500 | [diff] [blame] | 21 | if [ "${DEBUG}" = "y" ]; then |
Jorge Hernandez | 449fae7 | 2018-05-13 23:04:14 -0500 | [diff] [blame] | 22 | set -x |
| 23 | fi |
| 24 | |
| 25 | ${POLICY_HOME}/bin/db-migrator -s pooling -o upgrade |
| 26 | |