Home / Function/ down() — supabase Function Reference

down() — supabase Function Reference

Architecture documentation for the down() function in 20250619_160549.ts from the supabase codebase.

Entity Profile

Relationship Graph

Source Code

apps/cms/src/migrations/20250619_160549.ts lines 10–15

export async function down({ db }: MigrateDownArgs): Promise<void> {
    await db.execute(sql`
        DELETE FROM storage.objects WHERE bucket_id = 'cms';
        DELETE FROM storage.buckets WHERE id = 'cms';
    `)
}

Subdomains

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free