check if last column is the one that has to be changed.
Merge pull request #318 from fabu-gharbieh/Bugfix-sqllite-changecolumn-error-when-last-column-is-changed

check if last column is the one that has to be changed.