auto-sync with existing Heroku database URLs #7500
-
Is there any way to auto-sync database URLs after Hasura Cloud is connected to an existing Heroku database? When I created a database on Heroku via Hasura Cloud, autosync was set up by default, but I don't know how to autosync it with an existing database. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 7 replies
-
Edit: This is now possible from the cloud dashboard, under integrations
This can be done using the heroku cli, with the following command:
The Edit: I can confirm the ability to opt-in to the database url sync is on the roadmap. |
Beta Was this translation helpful? Give feedback.
-
@BenoitRanque |
Beta Was this translation helpful? Give feedback.
-
@martin-hasura But, the way you suggested have to create a new Hasura-project. Is there any way to do this? |
Beta Was this translation helpful? Give feedback.
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:
This can be done using the heroku cli, with the following command:
The
pg:copy
cmdlet is documented hereEdit: I can confirm the ability to opt-in to the database url sync is on the roadmap.