Database Table Structure Editor
Review table definitions in SQL Preview, or copy and rename multiple selected tables with a live naming preview.
How it works
Show Structure is read-only; Edit table structure opens the draft editor. Create a new relational table, add a field or modify an existing definition, then check native types, defaults, identity and comments before Save Changes prepares a preview. Docs illustrates both the test.new_table_1 new-table draft / CREATE TABLE and a separate test.test_docs MODIFY COLUMN preview / later Fields state. From the object tree, select multiple tables to open a shared Copy Table or Rename Table dialog. Preview every destination name, choose common copy options, or rename with prefix/suffix and find-and-replace rules.
- Confirm the workspace connection, database/Schema and selected object-tree table. Use Edit table structure, or New Table for a new relational definition.
- In Fields, add, copy or modify a field and review all ten definition columns. The Docs existing-table example reviews MODIFY COLUMN review_note VARCHAR(80), Comment Test for F13 and AFTER id for test.test_docs, then explains the completion and fresh-metadata checks. Existing-table reordering requires field-position support.
- Choose Save Changes directly. Resolve case-insensitive duplicate names and review any Confirm Field Type Exchange.
- Read the complete editable SQL Preview. Cancel returns from this preview; Execute submits the accepted text. Ctrl/⌘+Enter can perform either action depending on which dialog has focus.
- Wait for completion or inspect per-statement errors, then reopen the same target’s metadata to verify what actually changed.
- For batch table operations, select multiple tree tables and choose Copy Table or Rename Table. Review the names and available options together, then submit and verify each destination. See the illustrated guides below.
Availability and limits
Current-development draft, source-reviewed on 2026-10-17 and supplemented on 2026-10-18. Four authentic owner captures illustrate a new-table pair and an existing-field MODIFY COLUMN preview / later Fields state. Document formatted is formatter feedback; execution success and a fresh metadata read are unconfirmed. Physical shortcuts, complete engine workflows and named-release verification remain pending. Batch copy/rename instructions and two owner-supplied preview images were added on 2026-11-01; engine-specific availability applies.
- Fields edits are staged, but existing-table trigger changes and Procedures operations can apply independently. Parent Discard cannot undo an applied operation.
- Use direct Save Changes for a review you may cancel; close-prompt Save can close despite a canceled preview or pending execution. A closed dialog or success label alone is not persistence evidence.
- SQLite structure editing is partial and some existing-column changes rebuild/copy/drop/rename the table. Review every command and verify dependencies; do not assume a lossless rebuild.
- MongoDB uses a separate partial Schema/Index/Options path. Sample-inferred fields are not a complete or enforced collection schema; verify actual validator/options state.
- Snowflake table-structure editing is unsupported in the capability matrix; Redis is not applicable. A visible tab does not establish accepted support.
- DDL permissions, server version and data/dependencies affect acceptance. SQL Preview does not guarantee atomic execution or rollback after a failed batch.
- Batch copy and rename use their own object-tree dialogs. They can partially succeed and do not share the field editor’s Save Changes / SQL Preview flow. Available copy options and naming support depend on the engine.