Skip to content
Discussion options

You must be logged in to vote

Edit: This is now possible from the cloud dashboard, under integrations
Opting-in to the database url sync isn't currently possible.
As a work-around, you can follow these steps:

  1. use the console to add another database, this time using the "create heroku database" option
  2. copy the existing database to the newly created application.

This can be done using the heroku cli, with the following command:

heroku pg:copy app_name_to_copy_from::database_color_to_copy_from database_color_to_copy_to --app app_name_to_copy_to

The pg:copy cmdlet is documented here

Edit: I can confirm the ability to opt-in to the database url sync is on the roadmap.

Replies: 3 comments 7 replies

Comment options

You must be logged in to vote
2 replies
@takeshiemoto
Comment options

@BenoitRanque
Comment options

Answer selected by takeshiemoto
Comment options

You must be logged in to vote
1 reply
@martin-hasura
Comment options

Comment options

You must be logged in to vote
4 replies
@BenoitRanque
Comment options

@hiran-hiran
Comment options

@hiran-hiran
Comment options

@hiran-hiran
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
4 participants