With a huge whopping disclaimer that I've never done this before:

Wouldn't you simply be abe to add an explicit "id =
BigIntegerField(primary_key=True)" to the model and change the column
type accordingly in mysql?

On Oct 7, 4:16 pm, indymike <[email protected]> wrote:
> Here's my issue - I'm going to run out of integers for my primary key
> in one of my tables.  I'm using MySQL, which has been absolutely
> fantastic, and will for at least a few more decades if I can make a
> change from INT to BIGINT.
>
> What's the right way to switch from INT to BIGINT so the PK works
> correctly?
>
> / First thought was a big, fat south migration, but I I wonder if
> there's anything in Django's code that this will break?

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to