- Turn to your bot. Send
/export
to 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
/import
to import your subscriptions again.
- Turn to your bot. Send
/export
to 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
Settings
page, switch to theDanger
tab.Remove
the Redis plugin. - Click the
Add Plugin
button on the bottom left, selectAdd PostgreSQL
. - Turn to the
Variables
page.Delete
theCHATID
andDELAY
variables. Configure other variables as you need. - Turn to your forked GitHub repository. Switch to the branch you've deployed, then click
Fetch upstream
andFetch and merge
. - Wait for your Railway project to be updated.
- Turn to your bot. Send
/import
to 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.