Answer the question
In order to leave comments, you need to log in
How to organize a project structure in PostgreSQL?
Hello,
there is a database on PostgreSQL, data is stored in it (a lot, but not very much, 20GB). It has a relatively large amount of business logic - procedures, triggers, views (including materialized ones) and the code of all this is very non-trivial, including parsing xml with xpath requests and other magic, respectively, all this is densely covered with pgTAP tests.
In the end, the task arose of how to store the schema in the repository and be able to deploy it to a working or staging base.
So, how I tried to solve this problem:
Answer the question
In order to leave comments, you need to log in
There was a similar question here, there is an answer How to control stored procedures and triggers through VCS?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question