#!/bin/sh # ----------------------------------------------------------------------------- # # Runs sql scripts to update database from previous release. # # ----------------------------------------------------------------------------- # echo Using database: $1 echo Enter password for $2: read -s password echo Altering table degree mysql -u$2 -f -p$password $1 < alterDegreeTable.sql echo Fixing council role mysql -u$2 -f -p$password $1 < fixScientificCouncilRole.sql