Skip to content
Snippets Groups Projects
Verified Commit 2fbfde23 authored by Giovannoni Laurent's avatar Giovannoni Laurent
Browse files

add plus 1 to shipping_templates sequences on data

parent 3c6896b0
No related branches found
No related tags found
No related merge requests found
...@@ -1910,4 +1910,5 @@ INSERT INTO configurations (service, value) VALUES ('admin_email_server', '{"typ ...@@ -1910,4 +1910,5 @@ INSERT INTO configurations (service, value) VALUES ('admin_email_server', '{"typ
/* Modèle d’envois postaux */ /* Modèle d’envois postaux */
TRUNCATE TABLE shipping_templates; 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"}'); 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);
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment