Make fieldseeker tables key on globalid, version

This is because the objectid is not unique between organizations.
This commit is contained in:
Eli Ribble 2026-01-13 04:16:24 +00:00
parent d02d34cbaa
commit e18ce6a09e
No known key found for this signature in database
110 changed files with 10602 additions and 486 deletions

View file

@ -7,7 +7,7 @@ var FieldseekerTreatmentErrors = &fieldseekerTreatmentErrors{
ErrUniqueTreatmentPkey: &UniqueConstraintError{
schema: "fieldseeker",
table: "treatment",
columns: []string{"objectid", "version"},
columns: []string{"globalid", "version"},
s: "treatment_pkey",
},
}