The main Bubble source repository. Contains the Bubble API server, the web UI, documentation and utilities.
https://getbubblenow.com
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- #!/bin/bash
- #
- # List bubble databases
- #
- # Usage:
- #
- # list_bubble_databases [db-match]
- #
- # db-match only list databases whose names include this value. default is bubble
- #
- #
- SCRIPT="${0}"
- SCRIPT_DIR=$(cd $(dirname ${SCRIPT}) && pwd)
-
- DB_USER=$(whoami)
- DB_BASENAME="${1:-bubble}"
-
- echo "select datname from pg_database" | psql -qt -U ${DB_USER} | tr -d ' ' | grep ${DB_BASENAME}
|