I am looking for a way to deploy daily and maintain database scripts according to releases.
We currently have a pretty decent way to deploy our source, we have module code coverage, continuous integration and rollbacks.
The problem is that the database scripts are consistent with the release. It seems like everyone tried to run the script in a test database and then run them in real time when the ORM mappings are updated (i.e., the changes go live), then it raises a new column.
The first problem is that none of the scripts should be written anywhere, as a rule, everyone "tries" to put them in the Subversion folder, but some of the more lazy people just run the script in real time and most of the time there is no one knows what he did in the database.
The second problem is that we have 4 test databases, and they ALWAYS do not work, and the only way to really build their backup is to restore from a live database.
I really believe that such a process should be simple, understandable and easy to use to help the developer, and not to interfere with them.
What I'm looking for is methods / ideas that make it easy for developers to write their database scripts so that they can run as part of the release procedure. A process that a developer wants to follow .
Any stories, use cases or even links are useful.
cgreeno Feb 02 '09 at 21:09 2009-02-02 21:09
source share