Sha256: 859807c4452b6245bbf3ea98ec4f49112df0e07969fa1830c3ae31cb4a49ccaf
Contents?: true
Size: 548 Bytes
Versions: 15
Compression:
Stored size: 548 Bytes
Contents
#!/usr/bin/env bash set -e echo echo "Printing Message Store Version" echo "= = =" echo default_name=message_store if [ -z ${DATABASE_USER+x} ]; then echo "(DATABASE_USER is not set)" 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)" database=$default_name else database=$DATABASE_NAME fi echo "Database name is: $database" default_table_name=messages echo psql $database -U $user -P pager=off -c "SELECT message_store_version();"
Version data entries
15 entries across 15 versions & 1 rubygems