This will fix the query with excluded tags.
As MariaDB and MySQL ignore null values when using NOT LIKE it needs to be added OR IS NULL to select the correct rows.
Before:
SELECT * FROM processed_messages m
WHERE m.tags NOT LIKE '%schedule%'
After fix:
SELECT * FROM processed_messages m
WHERE (m.tags NOT LIKE '%schedule%' OR m.tags IS NULL)
PS: Sorry for my PR spamming :rofl: This one is last for now.
This will fix the query with excluded tags. As MariaDB and MySQL ignore null values when using
NOT LIKE
it needs to be addedOR IS NULL
to select the correct rows.Before:
After fix:
PS: Sorry for my PR spamming :rofl: This one is last for now.