How to get SHARED_DATABASE_URL in heroku.. while am trying to migrate it is asking for SHARED_DATABASE_URL how can i get it.. ??
heroku pg:reset --db SHARED_DATABASE_URL
What should i add in the place of SHARED_DATABASE_URL?? am working in ruby on rails
could anyone help me on this.
You can use command:
heroku pg:infoor justheroku pgto get information about your database. You will get something like this:Then run:
heroku pg:reset HEROKU_POSTGRESQL_GRAY_URLto reset database on heroku.