mirror of
https://github.com/DBDiff/DBDiff.git
synced 2026-04-25 05:15:49 +03:00
[GH-ISSUE #103] alter table order at the end & invalid SQL #211
Labels
No labels
bug
enhancement
good first issue
help wanted
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/DBDiff#211
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @dataf3l on GitHub (Oct 22, 2020).
Original GitHub issue: https://github.com/DBDiff/DBDiff/issues/103
output looks like this:
ALTER TABLE
tablenameENGINE = ;ALTER TABLE
tablenameENGINE = ;ALTER TABLE
tablenameENGINE = ;that doesn't look like valid SQL.
ALTER TABLE
table1DROPfield1;ALTER TABLE
table2DROPid;ALTER TABLE
table1DROPfield2;this makes hard to understand.
can it be changed so it looks like this?
ALTER TABLE
table1DROPfield1;ALTER TABLE
table1DROPfield2;ALTER TABLE
table2DROPid;in other words, sorted by table?
this is so that the statements are easier to grok by humans.
can anybody help.