gt;> *From:* django-developers@googlegroups.com <
>> django-developers@googlegroups.com> *On Behalf Of *mohamad ali mehdizadeh
>> *Sent:* Wednesday, May 25, 2022 1:23 AM
>> *To:* Django developers (Contributions to Django itself) <
>> django-developers@googlegr
ango-developers@googlegroups.com>
> *Subject:* Postgresql Sequence update on data migration
>
>
>
> I have a migration from an old table to a new table, so when I migrate
> also data of old table, I try to keep PrimaryKey values the same as old
> table. so every thing go well un
, 2022 1:23 AM
To: Django developers (Contributions to Django itself)
Subject: Postgresql Sequence update on data migration
I have a migration from an old table to a new table, so when I migrate also
data of old table, I try to keep PrimaryKey values the same as old table. so
every thing go well
I have a migration from an old table to a new table, so when I migrate also
data of old table, I try to keep PrimaryKey values the same as old table.
so every thing go well until I see primary key duplicate value errors from
Postgresql, I check it and so the Sequence of the new table was not