We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1e02ce7 commit ea93054Copy full SHA for ea93054
pkg/migration/queries/drop.sql
@@ -55,13 +55,12 @@ begin
55
execute format('drop table if exists %I.%I cascade', rec.relnamespace::regnamespace::name, rec.relname);
56
end loop;
57
58
- -- truncate tables in auth, storage, webhooks, and migrations schema
+ -- truncate tables in auth, webhooks, and migrations schema
59
for rec in
60
select *
61
from pg_class c
62
where
63
(c.relnamespace::regnamespace::name = 'auth' and c.relname != 'schema_migrations'
64
- or c.relnamespace::regnamespace::name = 'storage' and c.relname != 'migrations'
65
or c.relnamespace::regnamespace::name = 'supabase_functions' and c.relname != 'migrations'
66
or c.relnamespace::regnamespace::name = 'supabase_migrations')
67
and c.relkind = 'r'
0 commit comments