Handle altering tables