Primary key cid -> cid,ip