2020-12-05 00:10:47 -05:00
|
|
|
# execure the sql for scale which builds the sql and inserts into a table
|
2022-04-09 02:29:51 -04:00
|
|
|
$PG -f ./routes/scale/gen_scale.sql
|
2020-12-05 00:10:47 -05:00
|
|
|
# pull the sql out of the table and write it to route directory
|
2022-04-09 02:29:51 -04:00
|
|
|
$PG -c "SELECT t FROM fc.sql WHERE cmd = 'scale'" -t -A -o ./routes/scale/scale.sql
|