mirror of
https://github.com/DBDiff/DBDiff.git
synced 2026-04-25 05:15:49 +03:00
[PR #93] Fixed calling undefined methods when columns added or removed #257
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#257
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?
📋 Pull Request Information
Original PR: https://github.com/DBDiff/DBDiff/pull/93
Author: @joshuactm
Created: 7/4/2019
Status: 🔄 Open
Base:
master← Head:undefined_method_check📝 Commits (2)
6c38ec5Fixed calling undefined methods8c37312Merge branch 'master' into undefined_method_check📊 Changes
1 file changed (+7 additions, -2 deletions)
View changed files
📝
src/SQLGen/DiffToSQL/UpdateDataSQL.php(+7 -2)📄 Description
When GetOldValue or GetNewValue are not defined, do not try and call methods, just treat as NULL.
This can happen when columns only exist in one of the tables being compared.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.