chore: update migrations & images and switch to new registry

This commit is contained in:
Peter 2025-04-01 20:27:03 +02:00
parent 87a06dac66
commit b4347cc8a2
Signed by: prskr
GPG key ID: F56BED6903BC5E37
23 changed files with 388 additions and 37 deletions
assets/migrations/init-scripts

View file

@ -18,7 +18,15 @@ grant pg_read_all_data to supabase_read_only_user;
create schema if not exists extensions;
create extension if not exists "uuid-ossp" with schema extensions;
create extension if not exists pgcrypto with schema extensions;
create extension if not exists pgjwt with schema extensions;
do $$
begin
if exists (select 1 from pg_available_extensions where name = 'pgjwt') then
if not exists (select 1 from pg_extension where extname = 'pgjwt') then
create extension if not exists pgjwt with schema "extensions" cascade;
end if;
end if;
end $$;
-- Set up auth roles for the developer
create role anon nologin noinherit;