Throw exception if a new table would have no columns