Files
mold_cost_online_tool/deploy/db/migrations/run_migration.sh
T

15 lines
256 B
Bash
Executable File

#!/bin/bash
# Exit on error
set -e
# Change to the migrations directory
cd "$(dirname "$0")"
echo "Running database migration..."
python3 run_migration.py
echo "Testing migration..."
python3 test_mold_types.py
echo "Migration completed successfully!"