fix alter table query
Merge pull request #378 from fkooman/develop

fix alter table query