diff options
author | Kristian Lyngstol <kristian@bohemians.org> | 2016-05-14 14:27:27 +0200 |
---|---|---|
committer | Kristian Lyngstol <kristian@bohemians.org> | 2016-05-14 14:27:27 +0200 |
commit | 948b1e9558479846c2ddd52be5483ab8b44be77c (patch) | |
tree | a9304e201ec3d2ecc18bfaaaf8058ebe77f78b25 /extras | |
parent | 36ba81c8b4ce3bced4898d45853d2b736ef9b2b4 (diff) |
Add utility to dump SQL schema
Diffstat (limited to 'extras')
-rwxr-xr-x | extras/tools/dump-sql.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/extras/tools/dump-sql.sh b/extras/tools/dump-sql.sh new file mode 100755 index 0000000..c356179 --- /dev/null +++ b/extras/tools/dump-sql.sh @@ -0,0 +1,4 @@ +#!/bin/bash + +docker exec gondul-db-test su postgres -c "pg_dump -s nms" > build/schema.sql + |