diff --git a/bin/deploy_to_test.sh b/bin/deploy_to_test.sh index ce04fd23ffa897386074cf0892a189590ccf84d6..29b67dc1d29e6ec6753a28c3a8fcc1ae4af8d301 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