mirror of
https://git.joinplu.me/Plume/Plume.git
synced 2024-11-23 12:01:02 +00:00
9 lines
296 B
MySQL
9 lines
296 B
MySQL
|
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'
|
||
|
);
|