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

FEAT new samples

parent c0ecb105
No related branches found
No related tags found
No related merge requests found
File added
......@@ -82,11 +82,11 @@ DO $$
BEGIN
FOR r in 1..500 LOOP
INSERT INTO main_documents (id, reference, subject, mode, status, priority, sender, sender_entity, processing_user, recipient, creation_date) VALUES (r, '2018/A/' || r, 'Mon Courrier ' || r, 'SIGN', 1, 'Urgent', 'Oliver Queen', 'QE', 1, 'Barry Allen', CURRENT_TIMESTAMP);
INSERT INTO adr_main_documents (main_document_id, type, path, filename, fingerprint) VALUES (r, 'DOC', 'tests/', 'test.pdf', '22948029580928509276290285908');
INSERT INTO adr_main_documents (main_document_id, type, path, filename, fingerprint) VALUES (r, 'DOC', 'tests/', 'test.pdf', '5842a595983924f745e38c13195914d20420e85f2598e4fb3e11a491f89f545641e4995ab2fc54df0fec79be7b4fdb84e38322cd624061d754874e2c8178dcac');
INSERT INTO attachments (id, main_document_id, reference, subject, creation_date) VALUES (r, r, '2018/PJ/' || r, 'PJ 1', CURRENT_TIMESTAMP);
INSERT INTO adr_attachments (attachment_id, type, path, filename, fingerprint) VALUES (r, 'ATTACH', 'tests/', 'test_pj_1.pdf', '22948029580928509276290285908');
INSERT INTO adr_attachments (attachment_id, type, path, filename, fingerprint) VALUES (r, 'ATTACH', 'tests/', 'test_pj_1.pdf', '5842a595983924f745e38c13195914d20420e85f2598e4fb3e11a491f89f545641e4995ab2fc54df0fec79be7b4fdb84e38322cd624061d754874e2c8178dcac');
END LOOP;
END;
$$;
......
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