Skip to content

MODIFY STRUCTURE — alter an existing table #6

Description

@DDecoene

There is currently no way to add, rename, or drop a column on an existing table except DROP TABLE + CREATE TABLE. dBASE III had MODIFY STRUCTURE (full-screen editor).

Proposal: implement it as an Assistant wizard (src/ui/wizards/) showing the current schema in an editable grid, generating ALTER TABLE statements through ServerDatabaseBridge. SQLite supports ADD COLUMN, RENAME COLUMN, and DROP COLUMN natively (3.35+); type changes need a copy-table dance.

A plain-command fallback like ALTER TABLE <name> ADD <col> <type> would also be welcome as a first step.

Activity

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

    help wantedExtra attention is needed

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions