From: Victor Engmark <victor.engmark@terreactive.ch>
To: "Rodrigo Cortés" <rcortes.ing@gmail.com>
Cc: git@vger.kernel.org
Subject: Re: Tracking database changes.
Date: Thu, 8 Sep 2011 14:12:25 +0200 [thread overview]
Message-ID: <20110908121225.GC32087@victor.terreactive.ch> (raw)
In-Reply-To: <30328581.178675.1315346163453.JavaMail.trustmail@mail1.terreactive.ch>
On Tue, Sep 06, 2011 at 06:55:56PM -0300, Rodrigo Cortés wrote:
> Is there a way to use git to track database changes?
1. Export the data and/or data model with a tool like mysqldump.
2. Remove output which would clutter up your diffs without adding any
useful information. This could include things like date and time of the
export and user name of the exporter.
3. Commit and enjoy!
Optionally create a cron job to export and commit automatically during
off-peak hours.
Cheers,
Victor
--
terreActive AG
Kasinostrasse 30
CH-5001 Aarau
Tel: +41 62 834 00 55
Fax: +41 62 823 93 56
www.terreactive.ch
Wir sichern Ihren Erfolg - seit 15 Jahren
next parent reply other threads:[~2011-09-08 12:42 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <30328581.178675.1315346163453.JavaMail.trustmail@mail1.terreactive.ch>
2011-09-08 12:12 ` Victor Engmark [this message]
2011-09-08 12:16 ` Tracking database changes Rodrigo Cortés
2011-09-06 21:55 Rodrigo Cortés
2011-09-06 22:18 ` Carlos Martín Nieto
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=20110908121225.GC32087@victor.terreactive.ch \
--to=victor.engmark@terreactive.ch \
--cc=git@vger.kernel.org \
--cc=rcortes.ing@gmail.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).