migration did not migrate databases other than the default database name

My project f2235461-fc48-407d-bdb9-280b41d90865 I have two envs. And my database have a diferente name and they were not migrated In HML: the name of database is controbank In PRD: the name of database is masterfin
19 Replies
Percy
Percy5mo ago
Project ID: f2235461-fc48-407d-bdb9-280b41d90865
Brody
Brody5mo ago
railway does not delete the legacy database during the migration process, so i cant see how there would be any data loss. you should be able to go into the database and run the migration from the banner
gabrielduarte9187
The problem is that the right database was not migrated, only the railway database was migrated, but I use others. How do I get the data there? My application stopped working
Brody
Brody5mo ago
you should be able to go into the database and run the migration from the banner
Brody
Brody5mo ago
No description
gabrielduarte9187
I already clicked on the banner and made the migration. Both bank services are already running. However, my data was not taken, which is in the old service with a bank name other than railway
Brody
Brody5mo ago
can i see a screenshot of the project please
Brody
Brody5mo ago
im not seeing any database named controbank or masterfin
gabrielduarte9187
The migration that was carried out only took the railway database. But like I said, my data is in another database
Brody
Brody5mo ago
can you tell me more about this other database?
gabrielduarte9187
Look
No description
Brody
Brody5mo ago
okay thats what you meant, sorry it wasnt clear
gabrielduarte9187
Yes, within Postgres I created another database. "create database masterfin..." and my application connects to that database and not the default, railway
Brody
Brody5mo ago
for that you would need to manually dump those tables and restore them to the new database the auto migration is only going to migrate the database named railway
gabrielduarte9187
Can you help me do this, I already tried and I didn't succeed?
Brody
Brody5mo ago
im sure beekeeper has some sort of dumb or export feature right?
gabrielduarte9187
I did not find I managed to do the dump, but I can't restore it