#!/bin/sh # ----------------------------------------------------------------------------- # # Runs sql scripts to update database from previous release. # # ----------------------------------------------------------------------------- # echo Using database: $1 echo Enter password for $2: read -s password # Alter Unit Table mysql -u$2 -f $1 < alterUnitTable.sql mysql -u$2 -f $1 < alterDegreeTable.sql # Alter Degree Structure Tables echo Altering Degree Structure Tables... Started mysql -u$2 -f $1 < alterDegreeStructure.sql echo Altering Degree Structure Tables... Finnished