fixed DB primary key, adding unique