fix: reach the log-retention job into _supabase over dblink
the supabase image pins cron.database_name to postgres, so pg_cron refuses jobs scheduled from _supabase, where the log tables live; 1.3.2's upgrade failed on the first live run with 'can only create extension in database postgres'. The job now runs in postgres and deletes the _analytics log_events_* rows in _supabase over a local dblink connection, which needs no password because the image trusts local connections for supabase_admin. version 1.3.3
This commit is contained in: