Databases and PR environment
armandabric
HOBBYOP

a year ago

Hello everyone,

I'm trying to use the railway PR environment feature.

When a PR is created on Github, all my services are recreated in a new PR environment. But I'm surprise that my database (MySQL) data are not replicated in this new environment (it uses a volume). Is that the expected behavior?

If it's normal, what the advised way to automatically copy my production database to my PR database? I'm only looking for the PR creation phase. I do not want reintegrate the PR database when the PR is merge.

Have a nice day,
Armand

0 Replies

Loading...