Fixed syntax error when only adding new columns or only changing columns.

Signed-off-by: Maarten Staa <aistina@gmail.com>