Fixing upgrade alter tables.