gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-docs] branch master updated: document DB versioning


From: gnunet
Subject: [taler-docs] branch master updated: document DB versioning
Date: Fri, 17 Jan 2020 03:18:10 +0100

This is an automated email from the git hooks/post-receive script.

grothoff pushed a commit to branch master
in repository docs.

The following commit(s) were added to refs/heads/master by this push:
     new 5e5c881  document DB versioning
5e5c881 is described below

commit 5e5c8815f01ab30fde53fd3ea50df6e0b1ac8f74
Author: Christian Grothoff <address@hidden>
AuthorDate: Fri Jan 17 03:18:08 2020 +0100

    document DB versioning
---
 developers-manual.rst | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

diff --git a/developers-manual.rst b/developers-manual.rst
index 88671ec..0e4c555 100644
--- a/developers-manual.rst
+++ b/developers-manual.rst
@@ -443,6 +443,22 @@ prepared.
   $ buildbot-worker start worker/
 
 
+Database schema versioning
+--------------------------
+
+The Postgres databases of the exchange and the auditor are versioned.
+See the 0000.sql file in the respective directory for documentation.
+
+Every set of changes to the database schema must be stored in a new
+versioned SQL script. The scripts must have contiguous numbers. After
+any release (or version being deployed to a production or staging
+environment), existing scripts MUST be immutable.
+
+Developers and operators MUST NOT make changes to database schema
+outside of this versioning.
+
+
+
 Releases
 ========
 
@@ -473,6 +489,7 @@ Tag releases with an **annotated** commit, like
    git tag -a v0.1.0 -m "Official release v0.1.0"
    git push origin v0.1.0
 
+
 Database for tests
 ------------------
 

-- 
To stop receiving notification emails like this one, please contact
address@hidden.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]