Files
uis-cloud-computing/7project/upgrade_database.sh

7 lines
151 B
Bash

#!/bin/bash
# Script to upgrade the database using Alembic
cd backend || { echo "Directory 'backend' does not exist"; exit 1; }
alembic upgrade head