Skip to content

Commit ea93054

Browse files
authored
Revert "fix: clean up storage schema on db reset" (#3359)
1 parent 1e02ce7 commit ea93054

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

pkg/migration/queries/drop.sql

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,13 +55,12 @@ begin
5555
execute format('drop table if exists %I.%I cascade', rec.relnamespace::regnamespace::name, rec.relname);
5656
end loop;
5757

58-
-- truncate tables in auth, storage, webhooks, and migrations schema
58+
-- truncate tables in auth, webhooks, and migrations schema
5959
for rec in
6060
select *
6161
from pg_class c
6262
where
6363
(c.relnamespace::regnamespace::name = 'auth' and c.relname != 'schema_migrations'
64-
or c.relnamespace::regnamespace::name = 'storage' and c.relname != 'migrations'
6564
or c.relnamespace::regnamespace::name = 'supabase_functions' and c.relname != 'migrations'
6665
or c.relnamespace::regnamespace::name = 'supabase_migrations')
6766
and c.relkind = 'r'

0 commit comments

Comments
 (0)