Skip to content

Commit

Permalink
KAA-1566: small fix for upgradeKaa0100to0101 script
Browse files Browse the repository at this point in the history
  • Loading branch information
vchizhevsky committed Nov 18, 2016
1 parent 3e50053 commit 3691227
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,12 @@ mariadb or postgresql"
else
case $SQL_PROVIDER_NAME in
mariadb)
echo "Upgrade mariadb 0.10.0 to 0.11.0 Kaa version"
mysql -usqladmin -padmin kaa < upgradeSql0100to0110kaaVersionMariadb.sql
echo "Upgrade mariadb 0.10.0 to 0.10.1 Kaa version"
mysql -usqladmin -padmin kaa < upgradeSql0100to0101kaaVersionMariadb.sql
;;
postgresql)
echo "Upgrade postgresql 0.10.0 to 0.11.0 Kaa version"
sudo -u postgres psql -d kaa -a -f upgradeSql0100to0110kaaVersionPostgreSQL.sql
echo "Upgrade postgresql 0.10.0 to 0.10.1 Kaa version"
sudo -u postgres psql -d kaa -a -f upgradeSql0100to0101kaaVersionPostgreSQL.sql
;;
*)
exit 1
Expand Down

0 comments on commit 3691227

Please sign in to comment.