The main Bubble source repository. Contains the Bubble API server, the web UI, documentation and utilities. https://getbubblenow.com
Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.
 
 
 
 

19 строки
380 B

  1. #!/bin/bash
  2. #
  3. # List bubble databases
  4. #
  5. # Usage:
  6. #
  7. # list_bubble_databases [db-match]
  8. #
  9. # db-match only list databases whose names include this value. default is bubble
  10. #
  11. #
  12. SCRIPT="${0}"
  13. SCRIPT_DIR=$(cd $(dirname ${SCRIPT}) && pwd)
  14. DB_USER=$(whoami)
  15. DB_BASENAME="${1:-bubble}"
  16. echo "select datname from pg_database" | psql -qt -U ${DB_USER} | tr -d ' ' | grep ${DB_BASENAME}