chore(*.sql): use sql-formatter for sql formatting
This commit is contained in:
parent
cf1ee4c97f
commit
1d7f13d1f5
63 changed files with 4432 additions and 2358 deletions
|
@ -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' $$
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue