Skip to content

Commit 98f6278

Browse files
authored
fix: do not restart auth sequence on reset (#3552)
1 parent 61910dd commit 98f6278

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

pkg/config/constants.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import (
1111
const (
1212
pg13 = "supabase/postgres:13.3.0"
1313
pg14 = "supabase/postgres:14.1.0.89"
14-
pg15 = "supabase/postgres:15.8.1.069"
14+
pg15 = "supabase/postgres:15.8.1.085"
1515
deno2 = "supabase/edge-runtime:v1.68.0-develop.14"
1616
)
1717

pkg/migration/queries/drop.sql

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ begin
4242
execute format('drop materialized view if exists %I.%I cascade', rec.relnamespace::regnamespace::name, rec.relname);
4343
end loop;
4444

45-
-- tables (cascade to views)
45+
-- tables (cascade to dependent objects)
4646
for rec in
4747
select *
4848
from pg_class c
@@ -65,7 +65,7 @@ begin
6565
or c.relnamespace::regnamespace::name = 'supabase_migrations')
6666
and c.relkind = 'r'
6767
loop
68-
execute format('truncate %I.%I restart identity cascade', rec.relnamespace::regnamespace::name, rec.relname);
68+
execute format('truncate %I.%I cascade', rec.relnamespace::regnamespace::name, rec.relname);
6969
end loop;
7070

7171
-- sequences

0 commit comments

Comments
 (0)