diff --git a/sql/delete_all_ressources.sql b/sql/delete_all_ressources.sql
index d25a4e60b64575475e2520a8589fea024a8db3b5..fa72af7c557ec93a792824be26889ffb35704265 100755
--- a/sql/delete_all_ressources.sql
+++ b/sql/delete_all_ressources.sql
@@ -46,9 +46,6 @@ ALTER SEQUENCE adr_letterbox_id_seq restart WITH 1;
 TRUNCATE TABLE adr_attachments;
 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_mark_as_read;
 
@@ -56,7 +53,7 @@ TRUNCATE TABLE saved_queries;
 TRUNCATE TABLE lc_stack;
 
 TRUNCATE TABLE tags;
-ALTER SEQUENCE tag_id_seq restart WITH 1;
+ALTER SEQUENCE tags_id_seq restart WITH 1;
 
 TRUNCATE TABLE tags_entities;
 
diff --git a/sql/index_creation.sql b/sql/index_creation.sql
index b850272c02579469567a9eff740e7938a6ddcdab..747ebfee4dcbe11542d04eefcaacad70987c5f21 100755
--- a/sql/index_creation.sql
+++ b/sql/index_creation.sql
@@ -19,7 +19,6 @@ CREATE INDEX res_att_external_id_idx ON res_attachments (external_id);
 
 -- listinstance
 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 item_id_idx ON listinstance (item_id);
 CREATE INDEX item_type_idx ON listinstance (item_type);