Made attribute id as a primary key