adjust the 'key' name to 'privkey' to allow mysql columns with this name
change the key member to privkey as 'key' is a keywords for soome databases (like mysql)