Skip to content

Studio: Stale table metadata after saving table editor changes #47540

Closed

Description

@aadityabhusal

Bug report

  • I confirm this is a bug with Supabase, not with my own application.
  • I confirm I have searched the Docs, GitHub Discussions, and Discord.

Describe the bug

After editing a table from the Database table editor drawer, table metadata can remain stale across Database pages. Changes such as column updates, primary key/foreign key changes, table rename, or schema move may not immediately appear in the tables list, schema visualizer, or when reopening the edit drawer.

To Reproduce

Steps to reproduce the behavior:

  1. Go to Database > Tables.
  2. Open a table in the edit table drawer.
  3. Make a metadata-only change, such as updating a column or changing key constraints.
  4. Save the changes.
  5. Go to Database > Schemas, or reopen the same table in the edit drawer.
  6. See that the old table metadata may still be shown.

Expected behavior

After saving table edits, all table metadata views should refresh consistently. The tables list, schema visualizer, and edit drawer should show the latest table schema, columns, and constraints without requiring a hard refresh.

Screenshots

Stale.Cache.Issue.mp4

System information

  • OS: macOS
  • Browser: Chrome
  • Version of supabase-js: N/A
  • Version of Node.js: N/A

Activity

  1. added
    bug
    on Jul 2, 2026
  2. coderabbitai commented on Jul 2, 2026

    @coderabbitai
    Contributor
    🔗 Related PRs

    #43592 - feat: Allow to edit a column from the schema visualiser [closed]


    📝 Issue Planner

    Check the box below or use the @coderabbitai plan command to generate an implementation plan and prompts that you can use with your favorite coding assistant.

    • Create Plan

    🧪 Issue enrichment is currently in open beta.

    You can configure auto-planning by selecting labels in the issue_enrichment configuration.

    To disable automatic issue enrichment, add the following to your .coderabbit.yaml:

    issue_enrichment:
      auto_enrich:
        enabled: false

    💬 Have feedback or questions? Drop into our discord!

  3. added
    external-issue
    on Jul 2, 2026
  4. changed the title [-]Stale table metadata after saving table editor changes[/-] [+]Studio: Stale table metadata after saving table editor changes[/+] on Jul 2, 2026
  5. added
    frontend
    pr-opened
    and removed on Jul 7, 2026
  6. added a commit that references this issue on Aug 25, 2026
    b9d22fa
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugexternal-issuefrontendpr-opened

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions