All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Vít Procházka" <vitpro@atlas.cz>
To: git@vger.kernel.org
Subject: GIT v(+) database versioning question
Date: Sat, 26 Mar 2016 11:50:33 +0100	[thread overview]
Message-ID: <56F66979.2050301@atlas.cz> (raw)

Hello,

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

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

                 reply	other threads:[~2016-03-26 11:10 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=56F66979.2050301@atlas.cz \
    --to=vitpro@atlas.cz \
    --cc=git@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.