diff options
Diffstat (limited to 'scripts/insert-test-data.sh')
| -rwxr-xr-x | scripts/insert-test-data.sh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/scripts/insert-test-data.sh b/scripts/insert-test-data.sh new file mode 100755 index 0000000..b817cce --- /dev/null +++ b/scripts/insert-test-data.sh @@ -0,0 +1,6 @@ +#!/usr/bin/env bash +set -euo pipefail + +podman exec -it pg-postgres-browser psql -U postgres -d testdb -c \ + "CREATE TABLE clients (id serial PRIMARY KEY, label text, city text); + INSERT INTO clients (label, city) VALUES ('Anna Schmidt', 'Kiel'), ('Ben Weber', 'Flensburg');"
\ No newline at end of file |
