[multi-sources-removal] Drop deleted_entities system table and entities.mtime column
since they were only used by the entities_modified_since api of the
repository which has been dropped. Along with them, the multi-sources-etypes
configuration variable and some sql queries at modification/deletion time of
entities. Bon vent !
Related to #2919300
if repo.system_source.dbdriver == 'postgres':
sql('ALTER TABLE appears ADD COLUMN weight float')
sql('UPDATE appears SET weight=1.0 ')