Skip to content

supabase db diff issue on v2.58.5 #4460

@baresi687

Description

@baresi687

Describe the bug
supabase db diff shows schema changes no matter what.

To Reproduce

  1. Reset db locally
  2. Create new test function in public schema
  3. Generate new migration file with db diff
  4. Run supabase db diff

Expected behavior
supabase db diff should return 'No schema changes found'.
Instead it shows the test function.

System information

  • Version of OS: Ubuntu 24.04.3 LTS
  • Version of CLI: v2.58.5
  • Version of Docker: v28.3.3
  • Versions of services:
    supabase/postgres | 15.8.1.085
    supabase/gotrue | v2.182.1
    postgrest/postgrest | v13.0.7
    supabase/realtime | v2.63.0
    supabase/storage-api | v1.29.0
    supabase/edge-runtime | v1.69.23
    supabase/studio | 2025.11.10-sha-5291fe3
    supabase/postgres-meta | v0.93.1
    supabase/logflare | 1.25.3
    supabase/supavisor | 2.7.4

Additional context
Tried rm -rf supabase/.temp/. No difference.
Tested v2.59.6 pre release, same issue.

CLI versions 2.54.11 and 2.53.6 do not have this issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions