Failed to drop database! error: cannot drop the currently open database
Closed this issue · 0 comments
dschinkel commented
Does anyone know an easy way to get around this problem. I can't drop the DB since it's in use:
node node_modules/db-migrate/bin/db-migrate db:drop postgres
node node_modules/db-migrate/bin/db-migrate db:create postgres
Error: Failed to create database! error: database "postgres" already exists and is running in a postgres docker container.