Better database upgrade through use of temp tables.