[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

SVN v(+) database versioning question

From: Vít Procházka <vitpro_at_atlas.cz>
Date: Sat, 26 Mar 2016 11:45:21 +0100

Hello,

may I ask a question: what would be the best way to achieve this with SVN:

Database versioning scripts shall be (1) numbered (due to DBmaintain)
and (2) incremental.

ad 1) When a developer commits a script, I should get the next higher number
than the last committed script. E.g. 045_customers.SQL, 046_orders.SQL etc

ad 2) Scripts, which are once committed, should be immutable -- developers
should not be able to change them. They can only add new scripts.

Many thanks in advance,
V. Prochazka
Received on 2016-03-26 13:58:54 CET

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.