(OJS 3.2.0-3) DB Error: duplicate key value violates unique constraint "publication_galleys_pkey"

Hi @gabriellence

I’m in a testing environment.
I run this query:

ALTER SEQUENCE publication_galleys_galley_id_seq RESTART WITH MY_MAX_ID;

I’m able to create galleys after that.
But I don’t know if it’s ok to run this query.
Maybe @asmecher can answer us.
If it’s ok, I will search for more broken sequences.

Regards,
Tarcisio Pereira