Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pkg/config/constants.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
const (
pg13 = "supabase/postgres:13.3.0"
pg14 = "supabase/postgres:14.1.0.89"
pg15 = "supabase/postgres:15.8.1.069"
pg15 = "supabase/postgres:15.8.1.085"
deno2 = "supabase/edge-runtime:v1.68.0-develop.14"
)

Expand Down
4 changes: 2 additions & 2 deletions pkg/migration/queries/drop.sql
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ begin
execute format('drop materialized view if exists %I.%I cascade', rec.relnamespace::regnamespace::name, rec.relname);
end loop;

-- tables (cascade to views)
-- tables (cascade to dependent objects)
for rec in
select *
from pg_class c
Expand All @@ -65,7 +65,7 @@ begin
or c.relnamespace::regnamespace::name = 'supabase_migrations')
and c.relkind = 'r'
loop
execute format('truncate %I.%I restart identity cascade', rec.relnamespace::regnamespace::name, rec.relname);
execute format('truncate %I.%I cascade', rec.relnamespace::regnamespace::name, rec.relname);
end loop;

-- sequences
Expand Down