Home / Function/ up() — supabase Function Reference

up() — supabase Function Reference

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

Entity Profile

Relationship Graph

Source Code

apps/cms/src/migrations/20250619_160549.ts lines 3–8

export async function up({ db }: MigrateUpArgs): Promise<void> {
    await db.execute(sql`
        INSERT INTO storage.buckets (id, name, public) VALUES ('cms', 'cms', false)
        ON CONFLICT (id) DO NOTHING;
    `)
}

Subdomains

Analyze Your Own Codebase

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

Try Supermodel Free