Re: SQL: Migration How To?

2008-10-07 Thread Thomas Guettler
Benjamin Buch schrieb: > Is there somewhere a place in the documentation where SQL migration > strategies are explained a little? > [cut] I do it like this: # Before changes to models.py ./manage.py sqlall myapp > orig.sql # Modify models.py ./manage.py sqlall myapp > new.sql diff orig.sql

Re: SQL: Migration How To?

2008-10-04 Thread James Bennett
On Fri, Oct 3, 2008 at 11:36 PM, Benjamin Buch <[EMAIL PROTECTED]> wrote: > Is there somewhere a place in the documentation where SQL migration > strategies are explained a little? No. For the moment, the only "official", if it can be called that, way to do this is via SQL's ALTER TABLE statement

Re: SQL: Migration How To?

2008-10-04 Thread Benjamin Buch
Thanks James and Russel for your replies. Am 04.10.2008 um 07:22 schrieb Russell Keith-Magee: > > On Sat, Oct 4, 2008 at 12:36 PM, Benjamin Buch <[EMAIL PROTECTED]> > wrote: >> >> Is there somewhere a place in the documentation where SQL migration >> strategies are explained a little? >> I thin

Re: SQL: Migration How To?

2008-10-03 Thread Russell Keith-Magee
On Sat, Oct 4, 2008 at 12:36 PM, Benjamin Buch <[EMAIL PROTECTED]> wrote: > > Is there somewhere a place in the documentation where SQL migration > strategies are explained a little? > I think I remember a paragraph in the pre-1.0-documentation that > described what you have to do with your databa

SQL: Migration How To?

2008-10-03 Thread Benjamin Buch
Is there somewhere a place in the documentation where SQL migration strategies are explained a little? I think I remember a paragraph in the pre-1.0-documentation that described what you have to do with your database when you'd like to add a column to your model, but I can't find it anymore.