git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Tracking database changes.

From
VEVictor Engmark <victor.engmark@terreactive.ch>
Date
Sep 8, 2011, 12:12 UTC
Message-ID
<20110908121225.GC32087@victor.terreactive.ch>
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: Rodrigo Cortés
Message 1 of 2 in “Re: Tracking database changes.”
  1. Victor EngmarkSep 8, 2011
  2. Rodrigo CortésSep 8, 2011

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.