pivot_forecast/routes/scale/generate_route_sql.sh

5 lines
304 B
Bash
Raw Normal View History

# execure the sql for scale which builds the sql and inserts into a table
2022-04-28 01:13:13 -04:00
#$PG -f ./routes/scale/gen_scale.sql
# pull the sql out of the table and write it to route directory
2022-05-06 23:07:42 -04:00
psql -h hptrow.me -p 54329 -d ubm -U ptrowbridge -c "SELECT t FROM fc.sql WHERE cmd = 'scale'" -t -A -o ./routes/scale/scale.sql