chore: remove old filters, hardcoded types, old post status from view

This commit is contained in:
Cory Dransfeldt 2024-10-13 15:51:27 -07:00
parent ffea333d55
commit 76a172bb74
No known key found for this signature in database
15 changed files with 15 additions and 48 deletions

View file

@ -2,7 +2,6 @@ CREATE OR REPLACE VIEW optimized_all_activity AS
WITH feed_data AS (
SELECT
p.date AS content_date,
'post' AS content_type,
p.title,
p.description,
CONCAT('https://coryd.dev', p.url) AS url,
@ -21,7 +20,6 @@ WITH feed_data AS (
SELECT
l.date AS content_date,
'link' AS content_type,
l.title,
l.description,
l.link AS url,
@ -40,7 +38,6 @@ WITH feed_data AS (
SELECT
b.date_finished AS content_date,
'book' AS content_type,
b.title,
b.description,
CONCAT('https://coryd.dev', b.url) AS url,
@ -64,7 +61,6 @@ WITH feed_data AS (
SELECT
m.last_watched AS content_date,
'movie' AS content_type,
m.title,
m.description,
CONCAT('https://coryd.dev', m.url) AS url,