From d7b908a35155a0ff8be777cc135d2f391415c44a Mon Sep 17 00:00:00 2001 From: Kegan Maher Date: Mon, 4 May 2020 11:22:51 -0700 Subject: [PATCH] add vehicles to setup process --- db/bin/initdb.sh | 1 + db/bin/reset.sh | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/db/bin/initdb.sh b/db/bin/initdb.sh index dfe4057..40c6fd2 100755 --- a/db/bin/initdb.sh +++ b/db/bin/initdb.sh @@ -9,4 +9,5 @@ psql -v ON_ERROR_STOP=1 \ --file setup/enums.sql \ --file setup/trips.sql \ --file setup/status_changes.sql \ + --file setup/vehicles.sql \ --file setup/migrations.sql diff --git a/db/bin/reset.sh b/db/bin/reset.sh index 8e1c5e6..4de3db8 100755 --- a/db/bin/reset.sh +++ b/db/bin/reset.sh @@ -24,7 +24,6 @@ psql -v ON_ERROR_STOP=1 --host "$POSTGRES_HOSTNAME" --dbname "$POSTGRES_DB" << E CONNECTION LIMIT -1 ; - EOSQL psql -v ON_ERROR_STOP=1 --host "$POSTGRES_HOSTNAME" --dbname "$MDS_DB" << EOSQL