comses / miracle

Repeatable data analysis workflows for computational models
1 stars 3 forks source link

init-user-db script #83

Open warmdev opened 7 years ago

warmdev commented 7 years ago

CREATE DATABASE $db_name IF NOT EXISTS; does not work in PostgreSQL (the IF NOT EXISTS part). See http://stackoverflow.com/questions/18389124/simulate-create-database-if-not-exists-for-postgresql for workaround.