9720de1a67
Have to fill in all possible groups and sim types before doing the transpose to get the right table.
19 lines
235 B
Bash
Executable File
19 lines
235 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
if [ $# -ne 1 ]
|
|
then
|
|
echo "Usage: $0 <file>.sql"
|
|
exit 1
|
|
fi
|
|
|
|
file=$1
|
|
|
|
if [ ! -e $file ]
|
|
then
|
|
echo "file $file does not exist"
|
|
exit 1
|
|
fi
|
|
|
|
cat $file | kubectl exec -i svc/prod-umami-db-rw -c postgres -- psql app
|
|
|