[GH-ISSUE #29] Missing AFTER directive #156

Open
opened 2026-03-07 20:41:39 +03:00 by kerem · 4 comments
Owner

Originally created by @jarekbb on GitHub (Oct 4, 2016).
Original GitHub issue: https://github.com/DBDiff/DBDiff/issues/29

While generating "ALTER TABLE" sqls, DBDIFF doesn't add "AFTER $COLUMN" directive, so every new column have been added at the end of every table.
I found "modifyAfter" function but it doesn't add that directive anyway.

Thank you for any help.

Originally created by @jarekbb on GitHub (Oct 4, 2016). Original GitHub issue: https://github.com/DBDiff/DBDiff/issues/29 While generating "ALTER TABLE" sqls, DBDIFF doesn't add "**AFTER $COLUMN**" directive, so every new column have been added at the end of every table. I found "modifyAfter" function but it doesn't add that directive anyway. Thank you for any help.
Author
Owner

@huagelong commented on GitHub (Apr 13, 2017):

I found this bug too

<!-- gh-comment-id:293828125 --> @huagelong commented on GitHub (Apr 13, 2017): I found this bug too
Author
Owner

@nowarzz commented on GitHub (Dec 7, 2017):

I found this too

<!-- gh-comment-id:349841095 --> @nowarzz commented on GitHub (Dec 7, 2017): I found this too
Author
Owner

@4077 commented on GitHub (Feb 11, 2019):

modifyAfter() not used.

Is there a solution in one of the forks?

<!-- gh-comment-id:462519440 --> @4077 commented on GitHub (Feb 11, 2019): modifyAfter() not used. Is there a solution in one of the forks?
Author
Owner

@4077 commented on GitHub (Mar 20, 2019):

killerbug...

<!-- gh-comment-id:475051451 --> @4077 commented on GitHub (Mar 20, 2019): killerbug...
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/DBDiff#156
No description provided.