modifing db

Yes, the id needs to be the primary key.