I\'ve had a hard time trying to find good examples of how to manage database schemas and data between development, test, and production servers.
Here\'s our setup. E
We are using command-line mysql-diff: it outputs a difference between two database schemas (from live DB or script) as ALTER script. mysql-diff is executed at application start, and if schema changed, it reports to developer. So developers do not need to write ALTERs manually, schema updates happen semi-automatically.