Check for ALTER TABLE in installer (fixes #853)

Assuming this looks okay for merging, before someone actually pulls it, the corresponding pulls for each of the other database modules will probably want to be accepted.

I'll work on them now, but in the mean time, if anyone has issues with this, let me know so I don't end up working on them then not getting this pulled etc.