Skip to content
Snippets Groups Projects
Commit a3dce748 authored by Hamza HRAMCHI's avatar Hamza HRAMCHI
Browse files

FEAT #23856 TIME à:10 add database version

parent 290aecf7
No related branches found
No related tags found
No related merge requests found
......@@ -2,7 +2,8 @@ TRUNCATE TABLE configurations;
INSERT INTO configurations (id, identifier, label, value) VALUES (1, 'emailServer', 'Configuration Courriel', '{"auth": true, "from": "notifications@maarch.org", "host": "smtp.gmail.com", "port": 465, "type": "smtp", "user": "", "secure": "ssl", "charset": "utf-8", "password": "", "online": false}');
INSERT INTO configurations (id, identifier, label, value) VALUES (2, 'ldapServer', 'Configuration serveur LDAP #1', '{"ssl": false, "uri": "10.2.95.60", "baseDN": "", "prefix": "MAARCH", "suffix": ""}');
INSERT INTO configurations (id, identifier, label, value) VALUES (3, 'connection', 'Méthode de connexion', '"default"');
INSERT INTO configurations (id, identifier, label, value) VALUES (4, 'customization', 'Personnalisation', '{"loginMessage": "<span style=\" font-family: -apple-system, BlinkMacSystemFont, ''Segoe UI'', Roboto, Oxygen, Ubuntu, Cantarell, ''OPEN Sans'', ''Helvetica Neue'', sans-serif;\">D&eacute;couvrez&nbsp;</span><strong style=\"font-family: -apple-system, BlinkMacSystemFont, ''Segoe UI'', Roboto, Oxygen, Ubuntu, Cantarell, ''OPEN Sans'', ''Helvetica Neue'', sans-serif;\">Maarch Parapheur 2301</strong><span style=\"font-family: -apple-system, BlinkMacSystemFont, ''Segoe UI'', Roboto, Oxygen, Ubuntu, Cantarell, ''OPEN Sans'', ''Helvetica Neue'', sans-serif;\">&nbsp;avec&nbsp;</span><a style=\"font-family: -apple-system, BlinkMacSystemFont, ''Segoe UI'', Roboto, Oxygen, Ubuntu, Cantarell, ''OPEN Sans'', ''Helvetica Neue'', sans-serif;\" title=\"notre guide de visite\" href=\"https://docs.maarch.org/\" target=\"_blank\" rel=\"noopener\"><span style=\"color: #f99830;\"><strong>notre guide de visite en ligne</strong></span></a><span style=\"font-family: -apple-system, BlinkMacSystemFont, ''Segoe UI'', Roboto, Oxygen, Ubuntu, Cantarell, ''OPEN Sans'', ''Helvetica Neue'', sans-serif;\">.</span>", "applicationUrl": "https://preview.maarchparapheur.com/"}');
INSERT INTO configurations (id, identifier, label, value) VALUES (4, 'databaseVersion', 'Version de la base de données', '"2301.0.0"');
INSERT INTO configurations (id, identifier, label, value) VALUES (5, 'customization', 'Personnalisation', '{"loginMessage": "<span style=\" font-family: -apple-system, BlinkMacSystemFont, ''Segoe UI'', Roboto, Oxygen, Ubuntu, Cantarell, ''OPEN Sans'', ''Helvetica Neue'', sans-serif;\">D&eacute;couvrez&nbsp;</span><strong style=\"font-family: -apple-system, BlinkMacSystemFont, ''Segoe UI'', Roboto, Oxygen, Ubuntu, Cantarell, ''OPEN Sans'', ''Helvetica Neue'', sans-serif;\">Maarch Parapheur 2301</strong><span style=\"font-family: -apple-system, BlinkMacSystemFont, ''Segoe UI'', Roboto, Oxygen, Ubuntu, Cantarell, ''OPEN Sans'', ''Helvetica Neue'', sans-serif;\">&nbsp;avec&nbsp;</span><a style=\"font-family: -apple-system, BlinkMacSystemFont, ''Segoe UI'', Roboto, Oxygen, Ubuntu, Cantarell, ''OPEN Sans'', ''Helvetica Neue'', sans-serif;\" title=\"notre guide de visite\" href=\"https://docs.maarch.org/\" target=\"_blank\" rel=\"noopener\"><span style=\"color: #f99830;\"><strong>notre guide de visite en ligne</strong></span></a><span style=\"font-family: -apple-system, BlinkMacSystemFont, ''Segoe UI'', Roboto, Oxygen, Ubuntu, Cantarell, ''OPEN Sans'', ''Helvetica Neue'', sans-serif;\">.</span>", "applicationUrl": "https://preview.maarchparapheur.com/"}');
TRUNCATE TABLE docservers;
INSERT INTO docservers (id, type, label, is_readonly, size_limit_number, actual_size_number, path) VALUES (5, 'ORIGINAL', 'Documents originaux', 'N', 50000000000, 3493851, '/opt/maarchparapheur/docservers/original_documents/');
......@@ -84,7 +85,7 @@ INSERT INTO notifications_schedule (label, type, months, days_of_month, days_of_
INSERT INTO notifications_schedule (label, type, months, days_of_month, days_of_week, start_time, end_time, frequency, frequency_mode, status, last_execution) VALUES ('Récapitulatif des circuits interrompus dont je suis l''initiateur', 'typist_INT', '["*"]', '["*"]', '[1, 2, 3, 4, 5]', '08:00:00', NULL, NULL, 'hours', 'READY', null);
INSERT INTO notifications_schedule (label, type, months, days_of_month, days_of_week, start_time, end_time, frequency, frequency_mode, status, last_execution) VALUES ('Récapitulatif de mes documents à traiter', 'next_user', '["*"]', '["*"]', '[1, 2, 3, 4, 5]', '08:00:00', NULL, NULL, 'hours', 'READY', null);
SELECT pg_catalog.setval('public.configurations_id_seq', 4, false);
SELECT pg_catalog.setval('public.configurations_id_seq', 5, false);
SELECT pg_catalog.setval('public.docservers_id_seq', 5, true);
SELECT pg_catalog.setval('public.groups_id_seq', 5, true);
SELECT pg_catalog.setval('public.groups_privileges_id_seq', 21, true);
......
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