mirror of
https://github.com/DBDiff/DBDiff.git
synced 2026-04-25 05:15:49 +03:00
[GH-ISSUE #95] Incorrect compare columns with DEFAULT #64
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#64
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 @obbana2 on GitHub (Nov 18, 2019).
Original GitHub issue: https://github.com/DBDiff/DBDiff/issues/95
Hello.
I compare two databases, synchronized through my own script.
I get a lot of "ALTER TABLE
...CHANGE ... DEFAULT ..."I execute SQL on the second database. And with repeated DBDiff, the differences are again visible.
Perhaps the DBDiff algorithm is not entirely correct.
Since I compare myself and see no differences.
Also, DbDiff does not distinguish between renaming tables / columns, but I really want to see it.
@obbana2 commented on GitHub (Nov 18, 2019):
I understand why this happens, in one database DEFAULT is specified as '0', in another as 0 for Integer.
But SQL doesn’t change anything (mysql sees this as the same thing)