Created two databases. One of them is debug, in it I create a table structure, write stored procedures and views, and also debug client applications on it. The second base is working. She works with ready-made client applications. Suppose I developed some new functionality: I wrote several stored procedures and made changes to the client application. How to transfer all DDL changes to the working base? Are there any automatic tools for this purpose? And in general, is such architecture correct in principle?
Used DBMS - PostgreSQL.