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
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
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
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
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.
5 matches
Mail list logo