xtuple/xtuple-extensions — pull request #148 by xtpclark (2014-08-11 22:09:05+00:00)
Title: Fixed Schema on teheadinfo.sql for insert into and update te.tehead.

Broken...
root@ip-10-0-1-179:/usr/local/v460/xtuple# ./scripts/build_app.js -c /etc/xtuple/dfpilot/dfpilot.js -e ../xtuple-extensions/source/time_expense
building time_expense
info: Applying build to database dogfood
error: Cannot install file /usr/local/v460/xtuple/scripts/lib/temp_query_dogfood.sql
error: Command failed: psql:/usr/local/v460/xtuple/scripts/lib/temp_query_dogfood.sql:1: unrecognized boolean value; assuming "on".
psql:/usr/local/v460/xtuple/scripts/lib/temp_query_dogfood.sql:6: NOTICE: About to register extension time_expense
psql:/usr/local/v460/xtuple/scripts/lib/temp_query_dogfood.sql:830: NOTICE: constraint "teprjtask_teprjtask_prjtask_id_fkey" of relation "teprjtask" does not exist, skipping
psql:/usr/local/v460/xtuple/scripts/lib/temp_query_dogfood.sql:1085: ERROR: relation "tehead" does not exist
LINE 2: insert into tehead (
^
Error: Command failed: psql:/usr/local/v460/xtuple/scripts/lib/temp_query_dogfood.sql:1: unrecognized boolean value; assuming "on".
psql:/usr/local/v460/xtuple/scripts/lib/temp_query_dogfood.sql:6: NOTICE: About to register extension time_expense
psql:/usr/local/v460/xtuple/scripts/lib/temp_query_dogfood.sql:830: NOTICE: constraint "teprjtask_teprjtask_prjtask_id_fkey" of relation "teprjtask" does not exist, skipping
psql:/usr/local/v460/xtuple/scripts/lib/temp_query_dogfood.sql:1085: ERROR: relation "tehead" does not exist
LINE 2: insert into tehead (

Make fix to make work...

root@ip-10-0-1-179:/usr/local/v460/xtuple# ./scripts/build_app.js -c /etc/xtuple/dfpilot/dfpilot.js -e ../xtuple-extensions/source/time_expense
building time_expense
info: Applying build to database dogfood
info: Success installing all scripts.
info: Cleaning up.
Build succeeded.
Database: dogfood
Directories:
/usr/local/v460/xtuple-extensions/source/time_expense