Hi all and I must start with “Lotus looks really awesome”. I’m trying things out and when trying to migrate my first error came.
I get PG::ConnectionBad: FATAL: database "sandelius" does not exist
all the time when I’m trying to db create
or db migrate
. I can easily create a database using the createdb
command. I tried using the same connection string directly to sequel and it works. I googled some and found a discussion on Gitter where someone else had this exact same problem.
My postgres user is called sandelius and the connection string in env.development looks like:
APP_DATABASE_URL="postgres://localhost/app_dev"
I also tried APP_DATABASE_URL="postgres://sandelius:@localhost/app_dev"
but with the same result.
What am I missing?