Otis wrote:
It's not clear what you want to do with the 2 schemas, although from the names you want to use it looks like you have a developer environment and a production environment, and want to switch between them, but I could be wrong
It was as an example. I have a temporary database that is right now build up with data as the data are migrated from an old system.
The second database will be used as base for the new system. Data from temporary DB will be needed to be moved/transformed to the new DB. Most of the tables will be copied 1:1, but some will need to be adapted.