When generating SQL from a diff, ->columns is not available, but ->to->columns is
Merge pull request #287 from iarna/truncate-substitute-fixes

When generating SQL from a diff, ->columns is not available, but ->to->columns is