Big refactoring #77
@@ -17,7 +17,7 @@ case $opt in
|
|||||||
awk 'FNR==1{print "--------------------"}1' \
|
awk 'FNR==1{print "--------------------"}1' \
|
||||||
../../main/resources/sql/migrations/*.down.sql \
|
../../main/resources/sql/migrations/*.down.sql \
|
||||||
../../main/resources/sql/migrations/*.up.sql > ./allSQL.sql
|
../../main/resources/sql/migrations/*.up.sql > ./allSQL.sql
|
||||||
docker exec -i postgresql_dc-project psql test test -q -b -v "ON_ERROR_STOP=1" < ./allSQL.sql
|
docker exec -i dc-project_postgresql psql test test -q -b -v "ON_ERROR_STOP=1" < ./allSQL.sql
|
||||||
rm ./allSQL.sql
|
rm ./allSQL.sql
|
||||||
;;
|
;;
|
||||||
"All")
|
"All")
|
||||||
@@ -26,7 +26,7 @@ case $opt in
|
|||||||
../../main/resources/sql/functions/*/*.sql \
|
../../main/resources/sql/functions/*/*.sql \
|
||||||
./fixtures/*.sql \
|
./fixtures/*.sql \
|
||||||
./*.sql > ./allSQL.sql
|
./*.sql > ./allSQL.sql
|
||||||
docker exec -i postgresql_dc-project psql test test -q -b -v "ON_ERROR_STOP=1" < ./allSQL.sql
|
docker exec -i dc-project_postgresql psql test test -q -b -v "ON_ERROR_STOP=1" < ./allSQL.sql
|
||||||
rm ./allSQL.sql
|
rm ./allSQL.sql
|
||||||
;;
|
;;
|
||||||
"Quit")
|
"Quit")
|
||||||
@@ -37,7 +37,7 @@ case $opt in
|
|||||||
../../main/resources/sql/functions/*/*.sql \
|
../../main/resources/sql/functions/*/*.sql \
|
||||||
./fixtures/*.sql \
|
./fixtures/*.sql \
|
||||||
./"$opt".sql > ./allSQL.sql
|
./"$opt".sql > ./allSQL.sql
|
||||||
docker exec -i postgresql_dc-project psql test test -q -b -v "ON_ERROR_STOP=1" < ./allSQL.sql
|
docker exec -i dc-project_postgresql psql test test -q -b -v "ON_ERROR_STOP=1" < ./allSQL.sql
|
||||||
rm ./allSQL.sql
|
rm ./allSQL.sql
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
Reference in New Issue
Block a user