Fix primary key constraint in sqlite
Fix primary key constraint in sqlite

Only add columns specified in primary key constraint rather than all
table columns.

jcristovao/persistent,meteficha/persistent,greydot/persistent,andrewthad/persistent,nakaji-dayo/persistent,pseudonom/persistent,junjihashimoto/persistent,mitchellwrosen/persistent,nakaji-dayo/persistent,bitemyapp/persistent,gbwey/persistent,greydot/persistent,jcristovao/persistent,mkscrg/persistent,naushadh/persistent,rdnetto/persistent,nakaji-dayo/persistent,greydot/persistent,yesodweb/persistent,jasonzoladz/persistent,jasonzoladz/persistent,mkscrg/persistent,meteficha/persistent,andrewthad/persistent,mitchellwrosen/persistent,creichert/persistent,junjihashimoto/persistent,rdnetto/persistent,gbwey/persistent,paul-rouse/persistent,pseudonom/persistent,gbwey/persistent,mkscrg/persistent,plow-technologies/persistent,superduper/persistent,andrewthad/persistent,mitchellwrosen/persistent,jcristovao/persistent,erikd/persistent,psibi/persistent,superduper/persistent,meteficha/persistent,superduper/persistent,jasonzoladz/persistent