chore: update migrations & images and switch to new registry
This commit is contained in:
parent
87a06dac66
commit
b4347cc8a2
23 changed files with 388 additions and 37 deletions
assets/migrations/init-scripts
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue