remove use of rust in migration (#704)

* remove use of rust in migration

rewrite use_timelines_for_feed in pure sql
delete tantivy related migration. It will require reintroducing tantivy
initialisation in docs

fix #702

* Fill timeline from migrations

should fix #692 , but probably require some testing
This commit is contained in:
fdb-hiroshima
2019-12-14 21:06:07 +01:00
committed by Ana Gelez
parent 3bd2305115
commit 6c8944315a
10 changed files with 60 additions and 64 deletions
@@ -0,0 +1,8 @@
DELETE FROM timeline WHERE id IN
(
SELECT timeline.id FROM timeline
INNER JOIN timeline_definition ON timeline.timeline_id = timeline_definition.id
WHERE timeline_definition.query LIKE 'followed or [%]' OR
timeline_definition.query = 'local' OR
timeline_definition.query = 'all'
);