On Tuesday, June 20, 2017 at 10:40:05 PM UTC-7, Scot Hacker wrote:
>
> One strategy might be to:
>
> 1) Bring in the data under a different column name ('old_id' ?)
> 2) In a single migration, drop the default ID column,  rename old_id to 
> id, and give it primary_key=True
>

I can't change the primary key for this table, unfortunately.

T
 

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/f72ddf1d-c7f6-4df3-b2c6-62bba2e4a672%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to