From 21c510fa7045f1544beff11abc63de0971f3af14 Mon Sep 17 00:00:00 2001 From: frank Date: Tue, 27 Dec 2011 16:55:36 -0800 Subject: [PATCH] deploy cloud_usage when ant deploydb --- build/deploy/db/deploy-db.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/build/deploy/db/deploy-db.sh b/build/deploy/db/deploy-db.sh index e4274f1ca8f..a031b574ef9 100755 --- a/build/deploy/db/deploy-db.sh +++ b/build/deploy/db/deploy-db.sh @@ -98,6 +98,12 @@ if [ $? -ne 0 ]; then exit 11 fi +mysql --user=cloud --password=cloud cloud < create-schema-premium.sql +if [ $? -ne 0 ]; then + printf "Error: Cannot execute create-schema-premium.sql\n" + exit 11 +fi + if [ "$1" != "" ]; then mysql --user=cloud --password=cloud cloud < $1 if [ $? -ne 0 ]; then