Skip to content

Add a way to create a new table in the designer #818

Closed

Description

@EVWorth

Severity: P2

What happens

  1. Open ?mock=connected.
  2. Right-click a database: the menu offers New Query, Refresh, Set as Default, Statistics, Create Database, Drop Database, Backup and Restore, but no "New Table".
  3. Right-click the Tables folder: it offers only "Refresh".
  4. Neither the menu bar nor the command palette offers a way to open the designer without a table.

The designer's create mode, including its preview-before-create flow from #380, cannot be reached.

Cause

addDesignerTab is only ever called with a table name (src/components/schema/SchemaTree.tsx:617). The Tables folder menu is at SchemaTree.tsx:574-582.

Fix

Add "New Table…" to the database context menu, the Tables-folder context menu and the command palette. Each should call addDesignerTab(connectionId, db) with no table name.

Part of #783.

Activity

  1. added
    enhancement
    on Oct 21, 2026
  2. added a commit that references this issue on Oct 24, 2026
    3c89e81
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

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions