PetPlugin: fix database structure.
PetPlugin: fix sign.