chore(*.sql): use sql-formatter for sql formatting

This commit is contained in:
Cory Dransfeldt 2025-06-14 17:10:41 -07:00
parent 753f3433ce
commit a650f1d3e8
No known key found for this signature in database
63 changed files with 4432 additions and 2358 deletions

View file

@ -1,6 +1,8 @@
SELECT cron.schedule(
'0 0 * * *',
$$ UPDATE scheduled_episodes
SELECT
cron.schedule (
'0 0 * * *',
$$ UPDATE scheduled_episodes
SET status = 'aired'
WHERE air_date < CURRENT_DATE
AND status = 'upcoming' $$);
AND status = 'upcoming' $$
);