2020-11-26 01:30:40 -05:00
|
|
|
# execure the sql for baseline which builds the sql and inserts into a table
|
2020-11-27 20:40:34 -05:00
|
|
|
$PGD -f routes/baseline/gen_baseline.sql
|
2020-11-26 01:30:40 -05:00
|
|
|
# pull the sql out of the table and write it to route directory
|
2020-11-27 20:40:34 -05:00
|
|
|
$PGD -c "SELECT t FROM fc.sql WHERE cmd = 'baseline'" -t -A -o routes/baseline/baseline.sql
|