Sha256: 8b79d853033daa1404ef75adc760420c097414485c14f933392853783461e42e
Contents?: true
Size: 804 Bytes
Versions: 9
Compression:
Stored size: 804 Bytes
Contents
#!/usr/bin/env bash set -e echo echo "Updating Database" echo "= = =" echo default_name=message_store if [ -z ${DATABASE_USER+x} ]; then echo "(DATABASE_USER is not set. Default will be used.)" user=$default_name else user=$DATABASE_USER fi echo "Database user is: $user" if [ -z ${DATABASE_NAME+x} ]; then echo "(DATABASE_NAME is not set. Default will be used.)" database=$default_name else database=$DATABASE_NAME fi echo "Database name is: $database" echo function script_dir { val="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" echo "$val" } base=$(script_dir) # Install functions source $base/install-functions.sh # Install indexes source $base/install-indexes.sh # Install views source $base/install-views.sh # Install privileges source $base/install-privileges.sh
Version data entries
9 entries across 9 versions & 1 rubygems