Goal: Replicate the Retool Database schema from one space to another
Hi everyone,
I'm using Spaces to manage Production and Staging environments, along with Source Control to handle deployments to Production.
The issue I'm facing is that I can't "protect" the Retool Database schema or version schema changes effectively. While there is a migration tool available, it only works for environments within the same space.
Has anyone encountered this issue before? If so, what strategies have you used to manage database schema changes between spaces? Any insights or best practices would be greatly appreciated!
Interesting question. I haven't seen another other users bring up this issue but I can definitely check internally to see if we have official recommendations for migrating data and schemas across Spaces.
Looks like we have a feature request ticket to have DB data and schema migration as a built in native tool! I will attach your thread onto this and let you know about any updates on the thread from the eng team.
In the meantime, if your workaround is able to manually get the schema from the PG instance and move that, this is likely the best alternative.