Hi Jason,
Thanks for a quick reply.

I got your point, but I am worry about my existing data/records which is
already associated with id , which is default one.

On Wed, 23 Nov, 2022, 12:29 am Jason Turner, <[email protected]> wrote:

> I would just add another column that holds the UUID value instead of
> changing the default ID.
>
> On Tue, Nov 22, 2022, 12:55 PM Rajesh Kumar <[email protected]> wrote:
>
>> Hi everyone!
>> Hope everyone is doing well...
>>
>> Actually I have 100+ existing data in my database with default I'd field
>> of django
>> Now I need to replace that default I'd to UUID.
>>
>> How I can do  this without loosing any records of my database.
>>
>> If anyone can give me suggestions that would be great.
>>
>> Thanks
>> Rajesh Kumar
>>
>> --
>> 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 [email protected].
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/django-users/CAKNDe%3D%3DEa0ZagzpZ-Y_bXKrCi3ZHdG_PNr5%3DgxeJCTbKdM_tdA%40mail.gmail.com
>> <https://groups.google.com/d/msgid/django-users/CAKNDe%3D%3DEa0ZagzpZ-Y_bXKrCi3ZHdG_PNr5%3DgxeJCTbKdM_tdA%40mail.gmail.com?utm_medium=email&utm_source=footer>
>> .
>>
> --
> 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 [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CADoyC17Ar%2B5aHx2GHCdqTuHJagbJx6%3DFzj9zHP19-4-E1j6Pew%40mail.gmail.com
> <https://groups.google.com/d/msgid/django-users/CADoyC17Ar%2B5aHx2GHCdqTuHJagbJx6%3DFzj9zHP19-4-E1j6Pew%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAKNDe%3Dks0Gc%2BR8Hs6u%3DmhtQv3PjwyxaRqF2%3D7pwyP1NF34t5bQ%40mail.gmail.com.

Reply via email to