Skip to content
Snippets Groups Projects
Verified Commit b41c1285 authored by Florian Azizian's avatar Florian Azizian
Browse files

FIX sql exploit files

parent d14cdc20
No related branches found
No related tags found
No related merge requests found
...@@ -46,9 +46,6 @@ ALTER SEQUENCE adr_letterbox_id_seq restart WITH 1; ...@@ -46,9 +46,6 @@ ALTER SEQUENCE adr_letterbox_id_seq restart WITH 1;
TRUNCATE TABLE adr_attachments; TRUNCATE TABLE adr_attachments;
ALTER SEQUENCE adr_attachments_id_seq restart WITH 1; ALTER SEQUENCE adr_attachments_id_seq restart WITH 1;
TRUNCATE TABLE adr_attachments_version;
ALTER SEQUENCE adr_attachments_version_id_seq restart WITH 1;
TRUNCATE TABLE res_linked; TRUNCATE TABLE res_linked;
TRUNCATE TABLE res_mark_as_read; TRUNCATE TABLE res_mark_as_read;
...@@ -56,7 +53,7 @@ TRUNCATE TABLE saved_queries; ...@@ -56,7 +53,7 @@ TRUNCATE TABLE saved_queries;
TRUNCATE TABLE lc_stack; TRUNCATE TABLE lc_stack;
TRUNCATE TABLE tags; TRUNCATE TABLE tags;
ALTER SEQUENCE tag_id_seq restart WITH 1; ALTER SEQUENCE tags_id_seq restart WITH 1;
TRUNCATE TABLE tags_entities; TRUNCATE TABLE tags_entities;
......
...@@ -19,7 +19,6 @@ CREATE INDEX res_att_external_id_idx ON res_attachments (external_id); ...@@ -19,7 +19,6 @@ CREATE INDEX res_att_external_id_idx ON res_attachments (external_id);
-- listinstance -- listinstance
CREATE INDEX res_id_listinstance_idx ON listinstance (res_id); CREATE INDEX res_id_listinstance_idx ON listinstance (res_id);
CREATE INDEX listinstance_coll_id_idx ON listinstance (coll_id);
CREATE INDEX sequence_idx ON listinstance (sequence); CREATE INDEX sequence_idx ON listinstance (sequence);
CREATE INDEX item_id_idx ON listinstance (item_id); CREATE INDEX item_id_idx ON listinstance (item_id);
CREATE INDEX item_type_idx ON listinstance (item_type); CREATE INDEX item_type_idx ON listinstance (item_type);
......
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