Big refactoring #77

Merged
flecomte merged 166 commits from refactoring-component-and-immutable into master 2021-03-24 19:06:07 +01:00
2 changed files with 2 additions and 2 deletions
Showing only changes of commit f7b6cc4eb3 - Show all commits

View File

@@ -1,5 +1,5 @@
#!/usr/bin/env bash #!/usr/bin/env bash
awk 'FNR==1{print "--------------------"}1' `dirname $0`/*.sql > ./allSQL.sql awk 'FNR==1{print "--------------------"}1' `dirname $0`/*.sql > ./allSQL.sql
docker exec -i postgresql_dc-project psql dc-project dc-project -q -b -v "ON_ERROR_STOP=1" < ./allSQL.sql docker exec -i dc-project_postgresql psql dc-project dc-project -q -b -v "ON_ERROR_STOP=1" < ./allSQL.sql
rm ./allSQL.sql rm ./allSQL.sql
echo "End fixtures" echo "End fixtures"

View File

@@ -4,6 +4,6 @@ awk 'FNR==1{print "--------------------"}1' \
./migrations/*.down.sql \ ./migrations/*.down.sql \
./migrations/*.up.sql \ ./migrations/*.up.sql \
./functions/*/*.sql > ./allSQL.sql ./functions/*/*.sql > ./allSQL.sql
docker exec -i postgresql_dc-project psql dc-project dc-project -q -b -v "ON_ERROR_STOP=1" < ./allSQL.sql docker exec -i dc-project_postgresql psql dc-project dc-project -q -b -v "ON_ERROR_STOP=1" < ./allSQL.sql
rm ./allSQL.sql rm ./allSQL.sql
echo "End reset" echo "End reset"