run might be called from an action; in this case DATABASE_URL will be unavailable (overwritten with postgres://PLEASE:USE@GM_DBURL/INSTEAD) to avoid ambiguity (so we don't accidentally run commands against the main database when it was the shadow database that triggered the action). In this case, unless stated otherwise, the user would want to run against whatever database was just modified, so we automatically use GM_DBURL in this case.
run
might be called from an action; in this caseDATABASE_URL
will be unavailable (overwritten withpostgres://PLEASE:USE@GM_DBURL/INSTEAD
) to avoid ambiguity (so we don't accidentally run commands against the main database when it was the shadow database that triggered the action). In this case, unless stated otherwise, the user would want torun
against whatever database was just modified, so we automatically useGM_DBURL
in this case.Also fixes missing
@types/node
Fixes #80