From 2fbfde23ec510f3bc9843dd8f0fdefbd4bf0a87d Mon Sep 17 00:00:00 2001 From: Laurent Giovannoni <laurent.giovannoni@maarch.org> Date: Thu, 2 May 2019 18:43:55 +0200 Subject: [PATCH] add plus 1 to shipping_templates sequences on data --- sql/data_fr.sql | 1 + 1 file changed, 1 insertion(+) diff --git a/sql/data_fr.sql b/sql/data_fr.sql index dfafb92bfd3..223755f3a9e 100755 --- a/sql/data_fr.sql +++ b/sql/data_fr.sql @@ -1910,4 +1910,5 @@ INSERT INTO configurations (service, value) VALUES ('admin_email_server', '{"typ /* Modèle d’envois postaux */ TRUNCATE TABLE shipping_templates; INSERT INTO shipping_templates (id, label, description, options, fee, entities, account) VALUES (1, 'Modèle d''exemple d''envoi postal', 'Modèle d''exemple d''envoi postal', '{"shapingOptions":[],"sendMode":"fast"}', '{"firstPagePrice":0.4,"nextPagePrice":0.5,"postagePrice":0.9}', '["1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "17", "18", "16", "19", "20"]', '{"id":"sandbox.562","password":"VPh5AY6i::82f88fe97cead428e0885084f93a684c"}'); +Select setval('shipping_templates_id_seq', (select max(id)+1 from shipping_templates), false); -- GitLab