tags:

views:

52

answers:

1

What is the best way to save MySQL stored procedures and table structures in SVN?

I have around 100 tables and 200 stored procedures, dumping all procedures in a single file makes no sense as it contains thousands of lines and hard to maintain. I'm now thinking of creating separate separate files for each table and procedure, but it will sum up to 300 files.

Any suggestions..

+3  A: 

I've only played with this, rather than used it in anger, but liquibase appears to work quite well.

Jim T
I second the use of liquibase. Allows you to control the database changes incrementally, which works hand-in-glove with keeping such changes under subversion revision control
Mark O'Connor