taler-docs

Documentation for GNU Taler components, APIs and protocols
Log | Files | Refs | README | LICENSE

commit 5e5c8815f01ab30fde53fd3ea50df6e0b1ac8f74
parent 9401b426c6e67f539f03ec98fe7123ae96a3185f
Author: Christian Grothoff <christian@grothoff.org>
Date:   Fri, 17 Jan 2020 03:18:08 +0100

document DB versioning

Diffstat:
Mdevelopers-manual.rst | 17+++++++++++++++++
1 file changed, 17 insertions(+), 0 deletions(-)

diff --git 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 ------------------