Commit 181764a4 authored by Florian Azizian's avatar Florian Azizian
Browse files

FIX #17055 TIME 0:10 Add reinit sql sequence

parent 0af94309
......@@ -18,3 +18,9 @@ select setval('listinstance_id_seq', (select max(listinstance_id)+1 from listins
select setval('listinstance_history_id_seq', (select max(listinstance_history_id)+1 from listinstance_history), false);
select setval('listinstance_history_details_id_seq', (select max(listinstance_history_details_id)+1 from listinstance_history_details), false);
select setval('entities_id_seq', (select max(id)+1 from entities), false);
select setval('resources_tags_id_seq', (select max(id)+1 from resources_tags), false);
select setval('emails_id_seq', (select max(id)+1 from emails), false);
select setval('acknowledgement_receipts_id_seq', (select max(id)+1 from acknowledgement_receipts), false);
select setval('registered_mail_resources_id_seq', (select max(id)+1 from registered_mail_resources), false);
select setval('resources_folders_id_seq', (select max(id)+1 from resources_folders), false);
select setval('resource_contacts_id_seq', (select max(id)+1 from resource_contacts), false);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment