Jacob Kaplan-Moss wrote: > Hey folks -- > > I've posted (over 1200 words of) my thoughts on schema evolution to the > wiki: http://code.djangoproject.com/wiki/SchemaEvolution. > > Any thoughts before I start on this? > > Jacob
I like what you've said. For many years I worked on a development project that was heavily database dependant. We developed our own migration system similar to yours. With multiple developers with their own versions of code and local databases, as well as various testing servers, and different customers on different release versions, this approach proved to be very robust and reliable. It always allowed any developer to dig himself out of a versioning problem. I personally like the per model versioning soution. It keeps things modular, and I feel that is a big goal with Django. I would encourage building in some sort of easy way to check for mismatched versions of the database and code. Versioning problems for large systems are really difficult to solve without help. Perhaps a flag in the settings module would turn on auto versioning check and somehow warn a user of any mismatches, then they can choose what to do next (maybe I don't want to upgrade the db, but instead rollback my code for a particular server). I like the introspection idea if it can save time for me on easy changes. And it is nice for newbies, but there is no point in solving overly difficult schema migration problems automatically. I don't see how someone can remain a database newbie while simultaneously developing a system complicated enough to need such migration support. Maybe the introspection system could generate some automatic comments with the before and after schemas of a migration script. Just looking at scripts, it can be difficult to tell the purpose. But a quick glance at schemas would be really nice. Thanks for the great work on Django, btw. I intend to get rich by standing on your shoulders. :) sean --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to django-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-developers -~----------~----~----~----~------~----~------~--~---