Generate table_name if colelction_name is missing