use db.primary_key for both initializations to handle case where user has explicitly set primary_key attr
use db.primary_key for both initializations to handle case where user has explicitly set primary_key attr

theoryno3/pygr,cjlee112/pygr,RitwikGupta/pygr,RitwikGupta/pygr,cjlee112/pygr,theoryno3/pygr,RitwikGupta/pygr,theoryno3/pygr,GenDataPro/pygr,cjlee112/pygr,GenDataPro/pygr,GenDataPro/pygr,cjlee112/pygr