fa20c6e6 by Adam Heath

Transformations do not have an explicit database to connect to.

1 parent d89bc60b
......@@ -16,12 +16,10 @@ for file in /workspace/transformations/*; do
[[ -e $file ]] || continue
case "$file" in
(*.sql.gz)
database="$(basename "$file" .sql.gz)"
zcat "$file" | _import "$database"
zcat "$file" | _import postgres
;;
(*.sql)
database="$(basename "$file" .sql)"
cat "$file" | _import "$database"
cat "$file" | _import postgres
;;
(*.sh)
"$file"
......