ruby on rails - Heroku pg:push Can't get Database URL working -
i'm trying use heroku pg:push send data local machine production instance on heroku.
i've looked @ several posts , i've tried:
on this page i've tried:
heroku pg:push mylocaldb heroku_postgresql_magenta --app [app name]
but db url isn't aliased heroku_postgresql_magenta. i've tried putting in full database url see when run
heroku config --app [app name]
but, error needs url.
so did more digging on this page.
i tried running
heroku pg:wait
and
heroku config -s | grep heroku_postgresql
in attempt "color url" nothing gets returned when run command.
any ideas?
thanks
yes substituting actual variables local database , app name.
using database_url database url worked. thanks!
Comments
Post a Comment