Skip to content

feat: drag to reorder columns in Structure tab#491

Merged
datlechin merged 7 commits intomainfrom
feat/structure-drag-reorder-columns
Mar 28, 2026
Merged

feat: drag to reorder columns in Structure tab#491
datlechin merged 7 commits intomainfrom
feat/structure-drag-reorder-columns

Conversation

@datlechin
Copy link
Copy Markdown
Collaborator

Summary

  • Add drag-and-drop column reordering in the Structure tab (Columns sub-tab)
  • MySQL/MariaDB only — uses ALTER TABLE ... MODIFY COLUMN ... AFTER
  • Executes immediately on drop, reloads from DB on success
  • Disabled when there are unsaved structure changes

Closes #489
Ref: #488

Test plan

  • Open a MySQL/MariaDB table structure, drag a column up/down
  • Verify ALTER TABLE executes and column appears at new position
  • Verify drag is disabled for PostgreSQL/SQLite connections
  • Verify drag is disabled when there are pending structure changes
  • Verify error alert on SQL failure

@datlechin datlechin merged commit a9850c7 into main Mar 28, 2026
2 checks passed
@datlechin datlechin deleted the feat/structure-drag-reorder-columns branch March 28, 2026 13:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Drag to reorder columns in Structure tab

1 participant