Use create-company-database script for test data creation

This commit is contained in:
John Locke 2015-07-05 11:48:48 -07:00
parent 7f0a677a09
commit 65bb0d35ff

View File

@ -18,7 +18,7 @@ if [[ ! -f ledgersmb.conf ]]; then
fi fi
if [ ! -z ${CREATE_DATABASE+x} ]; then if [ ! -z ${CREATE_DATABASE+x} ]; then
perl tools/dbsetup.pl --company $CREATE_DATABASE \ perl tools/create-company-database.pl --company $CREATE_DATABASE \
--host $POSTGRES_HOST \ --host $POSTGRES_HOST \
--postgres_password "$POSTGRES_PASS" --postgres_password "$POSTGRES_PASS"
fi fi