From 63611c06a66eb601d50a794845f0c831963d25b2 Mon Sep 17 00:00:00 2001 From: Florian Azizian <florian.azizian@maarch.org> Date: Thu, 15 Jan 2015 10:58:36 +0000 Subject: [PATCH] FEAT #1854 update delete_all_ressources.sql --- core/trunk/delete_all_ressources.sql | 27 +++++++++++++++++++++++---- 1 file changed, 23 insertions(+), 4 deletions(-) diff --git a/core/trunk/delete_all_ressources.sql b/core/trunk/delete_all_ressources.sql index 3ef3c48677a..6a243788978 100644 --- a/core/trunk/delete_all_ressources.sql +++ b/core/trunk/delete_all_ressources.sql @@ -1,16 +1,35 @@ -/* Warning : This script erase all data in Maarch Entreprise. It keeps in database parameters */ +/* Warning : This script erase all data in the application Maarch. It keeps in database parameters */ TRUNCATE TABLE cases; TRUNCATE TABLE cases_res; -TRUNCATE TABLE contacts; + +TRUNCATE TABLE contacts_v2; +TRUNCATE TABLE contact_addresses; +TRUNCATE TABLE contact_types; +TRUNCATE TABLE contact_purposes; +TRUNCATE TABLE contacts_res; + TRUNCATE TABLE listinstance; + TRUNCATE TABLE history; TRUNCATE TABLE history_batch; -TRUNCATE TABLE mlb_coll_ext; + TRUNCATE TABLE notes; +TRUNCATE TABLE note_entities; + +TRUNCATE TABLE mlb_coll_ext; TRUNCATE TABLE res_letterbox; +TRUNCATE TABLE res_version_letterbox; TRUNCATE TABLE res_x; TRUNCATE TABLE res_attachments; + TRUNCATE TABLE saved_queries; TRUNCATE TABLE lc_stack; -TRUNCATE TABLE adr_x; \ No newline at end of file +TRUNCATE TABLE adr_x; + +TRUNCATE TABLE tags; + +TRUNCATE TABLE sendmail; + +TRUNCATE TABLE notif_event_stack; +TRUNCATE TABLE notif_email_stack; \ No newline at end of file -- GitLab