2 years ago
Hello!
Before January 31st I migrated to the new V2 DB as asked.
Everything worked just fine, but my web app is showing old data I think from an old backed up DB.
I changed the hardcoded DATABASEURL and password at the application properties file (It´s a Spring JPA app). I tried with both MYSQLPRIVATEURL and MYSQLURL.
The application runs with no problem, the service is deployed.
I saw the re-migrate posible solution, but the "Delete Previous Migration & Re-Migrate" button doesn´t appear at my Railway dashboard.
After "Automatic Migration ✨ You have successfully migrated this plugin to a V2 database ✨", I only have the "Delete Plugin" option.
Do I have to Delete the legacy plugin to fix this Issue?
Or there´s ant other instruction?
Regards,
Migel.
4 Replies
2 years ago
Can you share a screenshot of what the plugin's "Migrate" tab looks like for you?
2 years ago
I think it's not posible to share files here, but you can click this link:
2 years ago
That's odd. If you delete the migrated database service (the one that says "MySQL"), you should be able to perform the migration again.
Do not delete "MySQL Legacy" as that's the database you've been using. Please ensure you switch over your connection strings afterwards.
2 years ago
I've just solved. It was my fault. 😡
A front end mistake. I was fetching data from an old API that I have hosted on another server.
Now, pointing to railway's endpoints, everything works great and fast as we are used to with Railway.
Thanks for your time!