From 574623f2a85aae0f9df84cb10025abf769439ba4 Mon Sep 17 00:00:00 2001 From: "Joshua M. Boniface" Date: Sat, 15 Feb 2020 22:59:12 -0500 Subject: [PATCH] Remove obsolete script --- api-daemon/pvc-api-db-migrate | 17 ----------------- 1 file changed, 17 deletions(-) delete mode 100755 api-daemon/pvc-api-db-migrate diff --git a/api-daemon/pvc-api-db-migrate b/api-daemon/pvc-api-db-migrate deleted file mode 100755 index 6d26b4d0..00000000 --- a/api-daemon/pvc-api-db-migrate +++ /dev/null @@ -1,17 +0,0 @@ -#!/bin/bash - -# Apply PVC database migrations -# Part of the Parallel Virtual Cluster (PVC) system - -PVC_CONFIG_FILE="/etc/pvc/pvcapid.yaml" -PVC_SHARE_DIR="/usr/share/pvc" - -if [[ ! -f ${PVC_CONFIG_FILE} ]]; then - echo "Create a configuration file at ${PVC_CONFIG_FILE} before upgrading the database." - exit 1 -fi - -pushd ${PVC_SHARE_DIR} -./pvcapid-manage.py db migrate -./pvcapid-manage.py db upgrade -popd