From 5193ed946667bf8da1b6018f0958f040c122030c Mon Sep 17 00:00:00 2001 From: j38560 Date: Thu, 22 Dec 2016 14:13:24 +0000 Subject: [PATCH] Added indexes to deployment script. --- bin/deploy_to_test.sh | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/bin/deploy_to_test.sh b/bin/deploy_to_test.sh index ce04fd2..29b67dc 100644 --- a/bin/deploy_to_test.sh +++ b/bin/deploy_to_test.sh @@ -32,5 +32,14 @@ if [ -d $ROOT/../source/views/ ]; then runRemoteSQL "$f" done else - echo "No FK scripts found" + echo "No View scripts found" +fi + +if [ -d $ROOT/../source/indexes/ ]; then + for f in $ROOT/../source/indexes/*.sql + do + runRemoteSQL "$f" + done +else + echo "No Index scripts found" fi \ No newline at end of file -- GitLab