- Turn to your bot. Send
/exportto back up your subscriptions. - (Optional) Back up your
/path/to/bot/config/. - Delete
/path/to/bot/config/. - Redeploy your bot cleanly. Configure other variables as you need.
- Turn to your bot. Send
/importto import your subscriptions again.
- Turn to your bot. Send
/exportto back up your subscriptions. - Turn to your Railway project.
- (Optional) Back up your Redis database if you know how to do it.
- Turn to the
Settingspage, switch to theDangertab.Removethe Redis plugin. - Click the
Add Pluginbutton on the bottom left, selectAdd PostgreSQL. - Turn to the
Variablespage.DeletetheCHATIDandDELAYvariables. Configure other variables as you need. - Turn to your forked GitHub repository. Switch to the branch you've deployed, then click
Fetch upstreamandFetch and merge. - Wait for your Railway project to be updated.
- Turn to your bot. Send
/importto import your subscriptions again.
Make sure you switch to the master or dev branch. For Railway, you can do this by switching the deployment triggers (Deployments -> Triggers -> Branches -> add a new trigger and delete the old one) BEFORE START MIGRATING ACCORDING TO THE GUIDE.
Please read the FAQ.