Add script to launch fixtures
This commit is contained in:
7
src/main/resources/sql/fixtures/fixtures.sh
Normal file
7
src/main/resources/sql/fixtures/fixtures.sh
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
#bin/bash
|
||||||
|
echo "Start fixtures"
|
||||||
|
cat ./*.sql > ./allSQL.sql
|
||||||
|
docker exec -i postgresql_dc-project psql dc-project dc-project -q -b -v "ON_ERROR_STOP=1" < ./allSQL.sql
|
||||||
|
rm ./allSQL.sql
|
||||||
|
echo "End fixtures"
|
||||||
|
#sleep 20
|
||||||
Reference in New Issue
Block a user