Fix pkey types
Merge pull request #620 from geoadmin/gal_fix_models

Fix pkey types