mirror of
https://github.com/Haiti-Distributed-Healthcare-System/hdhs.git
synced 2026-10-27 01:45:59 +00:00
23 lines
442 B
Bash
Executable File
23 lines
442 B
Bash
Executable File
#!/usr/bin/env bash
|
|
# Author: "hertz"
|
|
# Date: 20200310
|
|
# ####################
|
|
# DESC:
|
|
# A script to execute a SQL script inside of postgres docker container
|
|
# ####################
|
|
|
|
|
|
# args:
|
|
# 1 -- name of container running postgres to execute the script inside of
|
|
# 2 -- path to .SQL script to be execute inside of the postgres container
|
|
|
|
#if [[ $# -ne 1 ]]; then
|
|
# echo "Usage: $0 <param-1> <param-2> ..."
|
|
# exit
|
|
#fi
|
|
|
|
|
|
# script:
|
|
|
|
|