Commit f61e9d44 authored by j38560's avatar j38560

Added views to the deployment run.

parent 392b4955
......@@ -9,7 +9,7 @@ source $ROOT/functions.sh
runRemoteSQL $ROOT/../source/setup.sql
if [ -d $ROOT/../source/tables/ ]; then
for f in $ROOT/../source/tables/*
for f in $ROOT/../source/tables/*.sql
do
runRemoteSQL "$f"
done
......@@ -18,7 +18,16 @@ else
fi
if [ -d $ROOT/../source/fk/ ]; then
for f in $ROOT/../source/fk/*
for f in $ROOT/../source/fk/*.sql
do
runRemoteSQL "$f"
done
else
echo "No FK scripts found"
fi
if [ -d $ROOT/../source/views/ ]; then
for f in $ROOT/../source/views/*.sql
do
runRemoteSQL "$f"
done
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment