Skip to content

Commit

Permalink
fix: mocks schema needs to be deployed to deploy dev data
Browse files Browse the repository at this point in the history
  • Loading branch information
pbastia committed Dec 9, 2020
1 parent dcf0de9 commit f765d16
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion schema/data/deploy-data.sh
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ while [[ "$1" =~ ^- && ! "$1" == "--" ]]; do case $1 in
actions+=('deployTest')
;;
-dev | --dev-data | --oc-project=*-dev )
actions+=('deployMocks' 'deployDev')
actions+=('deployDev')
;;
-p | --deploy-portal-schema )
actions+=('deployPortal')
Expand Down Expand Up @@ -193,6 +193,7 @@ deployTestData() {

deployDevData() {
deployProdData
deployMocks
_psql -f "./dev/facility.sql"
_psql -f "./dev/reporting_year.sql"
_psql -f "./dev/product.sql"
Expand Down

0 comments on commit f765d16

Please sign in to comment.