diff --git a/api/types.go b/api/types.go index 49393db4..fd89c461 100644 --- a/api/types.go +++ b/api/types.go @@ -200,7 +200,7 @@ func NewResponseMosquitoInspection(i *models.FieldseekerMosquitoinspection) Resp Comments: i.Comments.GetOr(""), Condition: i.Sitecond.GetOr(""), Created: i.Creationdate.MustGet().Format("2006-01-02T15:04:05.000Z"), - ID: i.Globalid.MustGet().String(), + ID: i.Globalid.String(), LocationName: i.Locationname.GetOr(""), SiteCondition: i.Sitecond.GetOr(""), } @@ -225,7 +225,7 @@ func NewResponseMosquitoSource(ms *platform.MosquitoSource) ResponseMosquitoSour Comments: pl.Comments.GetOr(""), Created: formatTime(pl.Creationdate), Description: pl.Description.GetOr(""), - ID: pl.Globalid.MustGet().String(), + ID: pl.Globalid.String(), LastInspectionDate: formatTime(pl.Lastinspectdate), //Location: NewResponseLocation(ms.Location), Habitat: pl.Habitat.GetOr(""), @@ -331,7 +331,7 @@ func NewResponseServiceRequest(sr *models.FieldseekerServicerequest) ResponseSer Created: formatTime(sr.Creationdate), HasDog: toBool(sr.Dog), HasSpanishSpeaker: toBool(sr.Spanish), - ID: sr.Globalid.MustGet().String(), + ID: sr.Globalid.String(), //Location: NewResponseLocation(sr.Location()), Priority: sr.Priority.GetOr(""), Status: sr.Status.GetOr(""), @@ -363,7 +363,7 @@ func NewResponseTrapDatum(td *models.FieldseekerTraplocation) ResponseTrapData { return ResponseTrapData{ Created: formatTime(td.Creationdate), Description: td.Description.GetOr(""), - ID: td.Globalid.MustGet().String(), + ID: td.Globalid.String(), //Location: NewResponseLocation(td.Location), Name: td.Name.GetOr(""), } diff --git a/db/dberrors/bob_errors.bob.go b/db/dberrors/bob_errors.bob.go index 94fa2a0d..f98ecde7 100644 --- a/db/dberrors/bob_errors.bob.go +++ b/db/dberrors/bob_errors.bob.go @@ -1,4 +1,4 @@ -// Code generated by BobGen psql v0.0.4-0.20251216163753-8e325b7c773a+dirty. DO NOT EDIT. +// Code generated by BobGen psql v0.0.4-0.20260105020634-53e08d840e47+dirty. DO NOT EDIT. // This file is meant to be re-generated in place and/or deleted at any time. package dberrors diff --git a/db/dberrors/bob_main.bob_test.go b/db/dberrors/bob_main.bob_test.go index b199ee12..3632734f 100644 --- a/db/dberrors/bob_main.bob_test.go +++ b/db/dberrors/bob_main.bob_test.go @@ -1,4 +1,4 @@ -// Code generated by BobGen psql v0.0.4-0.20251216163753-8e325b7c773a+dirty. DO NOT EDIT. +// Code generated by BobGen psql v0.0.4-0.20260105020634-53e08d840e47+dirty. DO NOT EDIT. // This file is meant to be re-generated in place and/or deleted at any time. package dberrors diff --git a/db/dberrors/fieldseeker.containerrelate.bob.go b/db/dberrors/fieldseeker.containerrelate.bob.go index ea06eaf7..1ea2dfbf 100644 --- a/db/dberrors/fieldseeker.containerrelate.bob.go +++ b/db/dberrors/fieldseeker.containerrelate.bob.go @@ -1,4 +1,4 @@ -// Code generated by BobGen psql v0.0.4-0.20251216163753-8e325b7c773a+dirty. DO NOT EDIT. +// Code generated by BobGen psql v0.0.4-0.20260105020634-53e08d840e47+dirty. DO NOT EDIT. // This file is meant to be re-generated in place and/or deleted at any time. package dberrors diff --git a/db/dberrors/fieldseeker.fieldscoutinglog.bob.go b/db/dberrors/fieldseeker.fieldscoutinglog.bob.go index 40578e86..e5235a58 100644 --- a/db/dberrors/fieldseeker.fieldscoutinglog.bob.go +++ b/db/dberrors/fieldseeker.fieldscoutinglog.bob.go @@ -1,4 +1,4 @@ -// Code generated by BobGen psql v0.0.4-0.20251216163753-8e325b7c773a+dirty. DO NOT EDIT. +// Code generated by BobGen psql v0.0.4-0.20260105020634-53e08d840e47+dirty. DO NOT EDIT. // This file is meant to be re-generated in place and/or deleted at any time. package dberrors diff --git a/db/dberrors/fieldseeker.habitatrelate.bob.go b/db/dberrors/fieldseeker.habitatrelate.bob.go index 6c0d41ee..15543fc0 100644 --- a/db/dberrors/fieldseeker.habitatrelate.bob.go +++ b/db/dberrors/fieldseeker.habitatrelate.bob.go @@ -1,4 +1,4 @@ -// Code generated by BobGen psql v0.0.4-0.20251216163753-8e325b7c773a+dirty. DO NOT EDIT. +// Code generated by BobGen psql v0.0.4-0.20260105020634-53e08d840e47+dirty. DO NOT EDIT. // This file is meant to be re-generated in place and/or deleted at any time. package dberrors diff --git a/db/dberrors/fieldseeker.inspectionsample.bob.go b/db/dberrors/fieldseeker.inspectionsample.bob.go index bce23b32..21003956 100644 --- a/db/dberrors/fieldseeker.inspectionsample.bob.go +++ b/db/dberrors/fieldseeker.inspectionsample.bob.go @@ -1,4 +1,4 @@ -// Code generated by BobGen psql v0.0.4-0.20251216163753-8e325b7c773a+dirty. DO NOT EDIT. +// Code generated by BobGen psql v0.0.4-0.20260105020634-53e08d840e47+dirty. DO NOT EDIT. // This file is meant to be re-generated in place and/or deleted at any time. package dberrors diff --git a/db/dberrors/fieldseeker.inspectionsampledetail.bob.go b/db/dberrors/fieldseeker.inspectionsampledetail.bob.go index 011ca3c6..f1fef926 100644 --- a/db/dberrors/fieldseeker.inspectionsampledetail.bob.go +++ b/db/dberrors/fieldseeker.inspectionsampledetail.bob.go @@ -1,4 +1,4 @@ -// Code generated by BobGen psql v0.0.4-0.20251216163753-8e325b7c773a+dirty. DO NOT EDIT. +// Code generated by BobGen psql v0.0.4-0.20260105020634-53e08d840e47+dirty. DO NOT EDIT. // This file is meant to be re-generated in place and/or deleted at any time. package dberrors diff --git a/db/dberrors/fieldseeker.linelocation.bob.go b/db/dberrors/fieldseeker.linelocation.bob.go index 6587a55e..98d6e7d2 100644 --- a/db/dberrors/fieldseeker.linelocation.bob.go +++ b/db/dberrors/fieldseeker.linelocation.bob.go @@ -1,4 +1,4 @@ -// Code generated by BobGen psql v0.0.4-0.20251216163753-8e325b7c773a+dirty. DO NOT EDIT. +// Code generated by BobGen psql v0.0.4-0.20260105020634-53e08d840e47+dirty. DO NOT EDIT. // This file is meant to be re-generated in place and/or deleted at any time. package dberrors diff --git a/db/dberrors/fieldseeker.locationtracking.bob.go b/db/dberrors/fieldseeker.locationtracking.bob.go index 7d2b822b..1226d1e4 100644 --- a/db/dberrors/fieldseeker.locationtracking.bob.go +++ b/db/dberrors/fieldseeker.locationtracking.bob.go @@ -1,4 +1,4 @@ -// Code generated by BobGen psql v0.0.4-0.20251216163753-8e325b7c773a+dirty. DO NOT EDIT. +// Code generated by BobGen psql v0.0.4-0.20260105020634-53e08d840e47+dirty. DO NOT EDIT. // This file is meant to be re-generated in place and/or deleted at any time. package dberrors diff --git a/db/dberrors/fieldseeker.mosquitoinspection.bob.go b/db/dberrors/fieldseeker.mosquitoinspection.bob.go index a275973d..6f54c513 100644 --- a/db/dberrors/fieldseeker.mosquitoinspection.bob.go +++ b/db/dberrors/fieldseeker.mosquitoinspection.bob.go @@ -1,4 +1,4 @@ -// Code generated by BobGen psql v0.0.4-0.20251216163753-8e325b7c773a+dirty. DO NOT EDIT. +// Code generated by BobGen psql v0.0.4-0.20260105020634-53e08d840e47+dirty. DO NOT EDIT. // This file is meant to be re-generated in place and/or deleted at any time. package dberrors diff --git a/db/dberrors/fieldseeker.pointlocation.bob.go b/db/dberrors/fieldseeker.pointlocation.bob.go index 31f8bc5e..9bfc462c 100644 --- a/db/dberrors/fieldseeker.pointlocation.bob.go +++ b/db/dberrors/fieldseeker.pointlocation.bob.go @@ -1,4 +1,4 @@ -// Code generated by BobGen psql v0.0.4-0.20251216163753-8e325b7c773a+dirty. DO NOT EDIT. +// Code generated by BobGen psql v0.0.4-0.20260105020634-53e08d840e47+dirty. DO NOT EDIT. // This file is meant to be re-generated in place and/or deleted at any time. package dberrors diff --git a/db/dberrors/fieldseeker.polygonlocation.bob.go b/db/dberrors/fieldseeker.polygonlocation.bob.go index 7bcf13a3..64fa94bb 100644 --- a/db/dberrors/fieldseeker.polygonlocation.bob.go +++ b/db/dberrors/fieldseeker.polygonlocation.bob.go @@ -1,4 +1,4 @@ -// Code generated by BobGen psql v0.0.4-0.20251216163753-8e325b7c773a+dirty. DO NOT EDIT. +// Code generated by BobGen psql v0.0.4-0.20260105020634-53e08d840e47+dirty. DO NOT EDIT. // This file is meant to be re-generated in place and/or deleted at any time. package dberrors diff --git a/db/dberrors/fieldseeker.pool.bob.go b/db/dberrors/fieldseeker.pool.bob.go index 1ed6f276..55cf4727 100644 --- a/db/dberrors/fieldseeker.pool.bob.go +++ b/db/dberrors/fieldseeker.pool.bob.go @@ -1,4 +1,4 @@ -// Code generated by BobGen psql v0.0.4-0.20251216163753-8e325b7c773a+dirty. DO NOT EDIT. +// Code generated by BobGen psql v0.0.4-0.20260105020634-53e08d840e47+dirty. DO NOT EDIT. // This file is meant to be re-generated in place and/or deleted at any time. package dberrors diff --git a/db/dberrors/fieldseeker.pooldetail.bob.go b/db/dberrors/fieldseeker.pooldetail.bob.go index 0989a670..5b97e055 100644 --- a/db/dberrors/fieldseeker.pooldetail.bob.go +++ b/db/dberrors/fieldseeker.pooldetail.bob.go @@ -1,4 +1,4 @@ -// Code generated by BobGen psql v0.0.4-0.20251216163753-8e325b7c773a+dirty. DO NOT EDIT. +// Code generated by BobGen psql v0.0.4-0.20260105020634-53e08d840e47+dirty. DO NOT EDIT. // This file is meant to be re-generated in place and/or deleted at any time. package dberrors diff --git a/db/dberrors/fieldseeker.proposedtreatmentarea.bob.go b/db/dberrors/fieldseeker.proposedtreatmentarea.bob.go index 4dae7501..37630658 100644 --- a/db/dberrors/fieldseeker.proposedtreatmentarea.bob.go +++ b/db/dberrors/fieldseeker.proposedtreatmentarea.bob.go @@ -1,4 +1,4 @@ -// Code generated by BobGen psql v0.0.4-0.20251216163753-8e325b7c773a+dirty. DO NOT EDIT. +// Code generated by BobGen psql v0.0.4-0.20260105020634-53e08d840e47+dirty. DO NOT EDIT. // This file is meant to be re-generated in place and/or deleted at any time. package dberrors diff --git a/db/dberrors/fieldseeker.qamosquitoinspection.bob.go b/db/dberrors/fieldseeker.qamosquitoinspection.bob.go index 64daad9d..71b70314 100644 --- a/db/dberrors/fieldseeker.qamosquitoinspection.bob.go +++ b/db/dberrors/fieldseeker.qamosquitoinspection.bob.go @@ -1,4 +1,4 @@ -// Code generated by BobGen psql v0.0.4-0.20251216163753-8e325b7c773a+dirty. DO NOT EDIT. +// Code generated by BobGen psql v0.0.4-0.20260105020634-53e08d840e47+dirty. DO NOT EDIT. // This file is meant to be re-generated in place and/or deleted at any time. package dberrors diff --git a/db/dberrors/fieldseeker.rodentlocation.bob.go b/db/dberrors/fieldseeker.rodentlocation.bob.go index 72da4597..ed7a5828 100644 --- a/db/dberrors/fieldseeker.rodentlocation.bob.go +++ b/db/dberrors/fieldseeker.rodentlocation.bob.go @@ -1,4 +1,4 @@ -// Code generated by BobGen psql v0.0.4-0.20251216163753-8e325b7c773a+dirty. DO NOT EDIT. +// Code generated by BobGen psql v0.0.4-0.20260105020634-53e08d840e47+dirty. DO NOT EDIT. // This file is meant to be re-generated in place and/or deleted at any time. package dberrors diff --git a/db/dberrors/fieldseeker.samplecollection.bob.go b/db/dberrors/fieldseeker.samplecollection.bob.go index 325e1890..99ace32e 100644 --- a/db/dberrors/fieldseeker.samplecollection.bob.go +++ b/db/dberrors/fieldseeker.samplecollection.bob.go @@ -1,4 +1,4 @@ -// Code generated by BobGen psql v0.0.4-0.20251216163753-8e325b7c773a+dirty. DO NOT EDIT. +// Code generated by BobGen psql v0.0.4-0.20260105020634-53e08d840e47+dirty. DO NOT EDIT. // This file is meant to be re-generated in place and/or deleted at any time. package dberrors diff --git a/db/dberrors/fieldseeker.samplelocation.bob.go b/db/dberrors/fieldseeker.samplelocation.bob.go index d51094c3..c4449b05 100644 --- a/db/dberrors/fieldseeker.samplelocation.bob.go +++ b/db/dberrors/fieldseeker.samplelocation.bob.go @@ -1,4 +1,4 @@ -// Code generated by BobGen psql v0.0.4-0.20251216163753-8e325b7c773a+dirty. DO NOT EDIT. +// Code generated by BobGen psql v0.0.4-0.20260105020634-53e08d840e47+dirty. DO NOT EDIT. // This file is meant to be re-generated in place and/or deleted at any time. package dberrors diff --git a/db/dberrors/fieldseeker.servicerequest.bob.go b/db/dberrors/fieldseeker.servicerequest.bob.go index 2dc5a17e..e7c37a4f 100644 --- a/db/dberrors/fieldseeker.servicerequest.bob.go +++ b/db/dberrors/fieldseeker.servicerequest.bob.go @@ -1,4 +1,4 @@ -// Code generated by BobGen psql v0.0.4-0.20251216163753-8e325b7c773a+dirty. DO NOT EDIT. +// Code generated by BobGen psql v0.0.4-0.20260105020634-53e08d840e47+dirty. DO NOT EDIT. // This file is meant to be re-generated in place and/or deleted at any time. package dberrors diff --git a/db/dberrors/fieldseeker.speciesabundance.bob.go b/db/dberrors/fieldseeker.speciesabundance.bob.go index deb68f8e..2471760d 100644 --- a/db/dberrors/fieldseeker.speciesabundance.bob.go +++ b/db/dberrors/fieldseeker.speciesabundance.bob.go @@ -1,4 +1,4 @@ -// Code generated by BobGen psql v0.0.4-0.20251216163753-8e325b7c773a+dirty. DO NOT EDIT. +// Code generated by BobGen psql v0.0.4-0.20260105020634-53e08d840e47+dirty. DO NOT EDIT. // This file is meant to be re-generated in place and/or deleted at any time. package dberrors diff --git a/db/dberrors/fieldseeker.stormdrain.bob.go b/db/dberrors/fieldseeker.stormdrain.bob.go index 5d35b7b0..0ab99d41 100644 --- a/db/dberrors/fieldseeker.stormdrain.bob.go +++ b/db/dberrors/fieldseeker.stormdrain.bob.go @@ -1,4 +1,4 @@ -// Code generated by BobGen psql v0.0.4-0.20251216163753-8e325b7c773a+dirty. DO NOT EDIT. +// Code generated by BobGen psql v0.0.4-0.20260105020634-53e08d840e47+dirty. DO NOT EDIT. // This file is meant to be re-generated in place and/or deleted at any time. package dberrors diff --git a/db/dberrors/fieldseeker.timecard.bob.go b/db/dberrors/fieldseeker.timecard.bob.go index 9a4be96a..857db9d5 100644 --- a/db/dberrors/fieldseeker.timecard.bob.go +++ b/db/dberrors/fieldseeker.timecard.bob.go @@ -1,4 +1,4 @@ -// Code generated by BobGen psql v0.0.4-0.20251216163753-8e325b7c773a+dirty. DO NOT EDIT. +// Code generated by BobGen psql v0.0.4-0.20260105020634-53e08d840e47+dirty. DO NOT EDIT. // This file is meant to be re-generated in place and/or deleted at any time. package dberrors diff --git a/db/dberrors/fieldseeker.trapdata.bob.go b/db/dberrors/fieldseeker.trapdata.bob.go index f7710ecc..46aca4fd 100644 --- a/db/dberrors/fieldseeker.trapdata.bob.go +++ b/db/dberrors/fieldseeker.trapdata.bob.go @@ -1,4 +1,4 @@ -// Code generated by BobGen psql v0.0.4-0.20251216163753-8e325b7c773a+dirty. DO NOT EDIT. +// Code generated by BobGen psql v0.0.4-0.20260105020634-53e08d840e47+dirty. DO NOT EDIT. // This file is meant to be re-generated in place and/or deleted at any time. package dberrors diff --git a/db/dberrors/fieldseeker.traplocation.bob.go b/db/dberrors/fieldseeker.traplocation.bob.go index ea5e3251..63a86b7f 100644 --- a/db/dberrors/fieldseeker.traplocation.bob.go +++ b/db/dberrors/fieldseeker.traplocation.bob.go @@ -1,4 +1,4 @@ -// Code generated by BobGen psql v0.0.4-0.20251216163753-8e325b7c773a+dirty. DO NOT EDIT. +// Code generated by BobGen psql v0.0.4-0.20260105020634-53e08d840e47+dirty. DO NOT EDIT. // This file is meant to be re-generated in place and/or deleted at any time. package dberrors diff --git a/db/dberrors/fieldseeker.treatment.bob.go b/db/dberrors/fieldseeker.treatment.bob.go index 76c50031..9b901284 100644 --- a/db/dberrors/fieldseeker.treatment.bob.go +++ b/db/dberrors/fieldseeker.treatment.bob.go @@ -1,4 +1,4 @@ -// Code generated by BobGen psql v0.0.4-0.20251216163753-8e325b7c773a+dirty. DO NOT EDIT. +// Code generated by BobGen psql v0.0.4-0.20260105020634-53e08d840e47+dirty. DO NOT EDIT. // This file is meant to be re-generated in place and/or deleted at any time. package dberrors diff --git a/db/dberrors/fieldseeker.treatmentarea.bob.go b/db/dberrors/fieldseeker.treatmentarea.bob.go index 28bb270a..1629a93c 100644 --- a/db/dberrors/fieldseeker.treatmentarea.bob.go +++ b/db/dberrors/fieldseeker.treatmentarea.bob.go @@ -1,4 +1,4 @@ -// Code generated by BobGen psql v0.0.4-0.20251216163753-8e325b7c773a+dirty. DO NOT EDIT. +// Code generated by BobGen psql v0.0.4-0.20260105020634-53e08d840e47+dirty. DO NOT EDIT. // This file is meant to be re-generated in place and/or deleted at any time. package dberrors diff --git a/db/dberrors/fieldseeker.zones.bob.go b/db/dberrors/fieldseeker.zones.bob.go index 44d6fe11..28d1f1df 100644 --- a/db/dberrors/fieldseeker.zones.bob.go +++ b/db/dberrors/fieldseeker.zones.bob.go @@ -1,4 +1,4 @@ -// Code generated by BobGen psql v0.0.4-0.20251216163753-8e325b7c773a+dirty. DO NOT EDIT. +// Code generated by BobGen psql v0.0.4-0.20260105020634-53e08d840e47+dirty. DO NOT EDIT. // This file is meant to be re-generated in place and/or deleted at any time. package dberrors diff --git a/db/dberrors/fieldseeker.zones2.bob.go b/db/dberrors/fieldseeker.zones2.bob.go index af73f8d9..306f4948 100644 --- a/db/dberrors/fieldseeker.zones2.bob.go +++ b/db/dberrors/fieldseeker.zones2.bob.go @@ -1,4 +1,4 @@ -// Code generated by BobGen psql v0.0.4-0.20251216163753-8e325b7c773a+dirty. DO NOT EDIT. +// Code generated by BobGen psql v0.0.4-0.20260105020634-53e08d840e47+dirty. DO NOT EDIT. // This file is meant to be re-generated in place and/or deleted at any time. package dberrors diff --git a/db/dberrors/fieldseeker_sync.bob.go b/db/dberrors/fieldseeker_sync.bob.go index 4e322c18..f02acf71 100644 --- a/db/dberrors/fieldseeker_sync.bob.go +++ b/db/dberrors/fieldseeker_sync.bob.go @@ -1,4 +1,4 @@ -// Code generated by BobGen psql v0.0.4-0.20251216163753-8e325b7c773a+dirty. DO NOT EDIT. +// Code generated by BobGen psql v0.0.4-0.20260105020634-53e08d840e47+dirty. DO NOT EDIT. // This file is meant to be re-generated in place and/or deleted at any time. package dberrors diff --git a/db/dberrors/goose_db_version.bob.go b/db/dberrors/goose_db_version.bob.go index 491c13b9..1bd13dbd 100644 --- a/db/dberrors/goose_db_version.bob.go +++ b/db/dberrors/goose_db_version.bob.go @@ -1,4 +1,4 @@ -// Code generated by BobGen psql v0.0.4-0.20251216163753-8e325b7c773a+dirty. DO NOT EDIT. +// Code generated by BobGen psql v0.0.4-0.20260105020634-53e08d840e47+dirty. DO NOT EDIT. // This file is meant to be re-generated in place and/or deleted at any time. package dberrors diff --git a/db/dberrors/h3_aggregation.bob.go b/db/dberrors/h3_aggregation.bob.go index ec315783..0876f0ad 100644 --- a/db/dberrors/h3_aggregation.bob.go +++ b/db/dberrors/h3_aggregation.bob.go @@ -1,4 +1,4 @@ -// Code generated by BobGen psql v0.0.4-0.20251216163753-8e325b7c773a+dirty. DO NOT EDIT. +// Code generated by BobGen psql v0.0.4-0.20260105020634-53e08d840e47+dirty. DO NOT EDIT. // This file is meant to be re-generated in place and/or deleted at any time. package dberrors diff --git a/db/dberrors/h3_aggregation.bob_test.go b/db/dberrors/h3_aggregation.bob_test.go index 840b2c02..107a168c 100644 --- a/db/dberrors/h3_aggregation.bob_test.go +++ b/db/dberrors/h3_aggregation.bob_test.go @@ -1,4 +1,4 @@ -// Code generated by BobGen psql v0.0.4-0.20251216163753-8e325b7c773a+dirty. DO NOT EDIT. +// Code generated by BobGen psql v0.0.4-0.20260105020634-53e08d840e47+dirty. DO NOT EDIT. // This file is meant to be re-generated in place and/or deleted at any time. package dberrors diff --git a/db/dberrors/note_audio.bob.go b/db/dberrors/note_audio.bob.go index 2e171711..408f8d94 100644 --- a/db/dberrors/note_audio.bob.go +++ b/db/dberrors/note_audio.bob.go @@ -1,4 +1,4 @@ -// Code generated by BobGen psql v0.0.4-0.20251216163753-8e325b7c773a+dirty. DO NOT EDIT. +// Code generated by BobGen psql v0.0.4-0.20260105020634-53e08d840e47+dirty. DO NOT EDIT. // This file is meant to be re-generated in place and/or deleted at any time. package dberrors diff --git a/db/dberrors/note_audio_breadcrumb.bob.go b/db/dberrors/note_audio_breadcrumb.bob.go index 9c702f14..36b73309 100644 --- a/db/dberrors/note_audio_breadcrumb.bob.go +++ b/db/dberrors/note_audio_breadcrumb.bob.go @@ -1,4 +1,4 @@ -// Code generated by BobGen psql v0.0.4-0.20251216163753-8e325b7c773a+dirty. DO NOT EDIT. +// Code generated by BobGen psql v0.0.4-0.20260105020634-53e08d840e47+dirty. DO NOT EDIT. // This file is meant to be re-generated in place and/or deleted at any time. package dberrors diff --git a/db/dberrors/note_audio_data.bob.go b/db/dberrors/note_audio_data.bob.go index 91094b86..6fe4fa73 100644 --- a/db/dberrors/note_audio_data.bob.go +++ b/db/dberrors/note_audio_data.bob.go @@ -1,4 +1,4 @@ -// Code generated by BobGen psql v0.0.4-0.20251216163753-8e325b7c773a+dirty. DO NOT EDIT. +// Code generated by BobGen psql v0.0.4-0.20260105020634-53e08d840e47+dirty. DO NOT EDIT. // This file is meant to be re-generated in place and/or deleted at any time. package dberrors diff --git a/db/dberrors/note_image.bob.go b/db/dberrors/note_image.bob.go index 892745cc..53ada199 100644 --- a/db/dberrors/note_image.bob.go +++ b/db/dberrors/note_image.bob.go @@ -1,4 +1,4 @@ -// Code generated by BobGen psql v0.0.4-0.20251216163753-8e325b7c773a+dirty. DO NOT EDIT. +// Code generated by BobGen psql v0.0.4-0.20260105020634-53e08d840e47+dirty. DO NOT EDIT. // This file is meant to be re-generated in place and/or deleted at any time. package dberrors diff --git a/db/dberrors/note_image_breadcrumb.bob.go b/db/dberrors/note_image_breadcrumb.bob.go index 6e52cecd..256c0567 100644 --- a/db/dberrors/note_image_breadcrumb.bob.go +++ b/db/dberrors/note_image_breadcrumb.bob.go @@ -1,4 +1,4 @@ -// Code generated by BobGen psql v0.0.4-0.20251216163753-8e325b7c773a+dirty. DO NOT EDIT. +// Code generated by BobGen psql v0.0.4-0.20260105020634-53e08d840e47+dirty. DO NOT EDIT. // This file is meant to be re-generated in place and/or deleted at any time. package dberrors diff --git a/db/dberrors/note_image_data.bob.go b/db/dberrors/note_image_data.bob.go index fc9b307a..eb67681f 100644 --- a/db/dberrors/note_image_data.bob.go +++ b/db/dberrors/note_image_data.bob.go @@ -1,4 +1,4 @@ -// Code generated by BobGen psql v0.0.4-0.20251216163753-8e325b7c773a+dirty. DO NOT EDIT. +// Code generated by BobGen psql v0.0.4-0.20260105020634-53e08d840e47+dirty. DO NOT EDIT. // This file is meant to be re-generated in place and/or deleted at any time. package dberrors diff --git a/db/dberrors/notification.bob.go b/db/dberrors/notification.bob.go index 07196de6..f9a429a1 100644 --- a/db/dberrors/notification.bob.go +++ b/db/dberrors/notification.bob.go @@ -1,4 +1,4 @@ -// Code generated by BobGen psql v0.0.4-0.20251216163753-8e325b7c773a+dirty. DO NOT EDIT. +// Code generated by BobGen psql v0.0.4-0.20260105020634-53e08d840e47+dirty. DO NOT EDIT. // This file is meant to be re-generated in place and/or deleted at any time. package dberrors diff --git a/db/dberrors/oauth_token.bob.go b/db/dberrors/oauth_token.bob.go index c474b6f9..5340029a 100644 --- a/db/dberrors/oauth_token.bob.go +++ b/db/dberrors/oauth_token.bob.go @@ -1,4 +1,4 @@ -// Code generated by BobGen psql v0.0.4-0.20251216163753-8e325b7c773a+dirty. DO NOT EDIT. +// Code generated by BobGen psql v0.0.4-0.20260105020634-53e08d840e47+dirty. DO NOT EDIT. // This file is meant to be re-generated in place and/or deleted at any time. package dberrors diff --git a/db/dberrors/organization.bob.go b/db/dberrors/organization.bob.go index 19d5213d..1368c885 100644 --- a/db/dberrors/organization.bob.go +++ b/db/dberrors/organization.bob.go @@ -1,4 +1,4 @@ -// Code generated by BobGen psql v0.0.4-0.20251216163753-8e325b7c773a+dirty. DO NOT EDIT. +// Code generated by BobGen psql v0.0.4-0.20260105020634-53e08d840e47+dirty. DO NOT EDIT. // This file is meant to be re-generated in place and/or deleted at any time. package dberrors diff --git a/db/dberrors/sessions.bob.go b/db/dberrors/sessions.bob.go index 8e3460f6..8b54a349 100644 --- a/db/dberrors/sessions.bob.go +++ b/db/dberrors/sessions.bob.go @@ -1,4 +1,4 @@ -// Code generated by BobGen psql v0.0.4-0.20251216163753-8e325b7c773a+dirty. DO NOT EDIT. +// Code generated by BobGen psql v0.0.4-0.20260105020634-53e08d840e47+dirty. DO NOT EDIT. // This file is meant to be re-generated in place and/or deleted at any time. package dberrors diff --git a/db/dberrors/spatial_ref_sys.bob.go b/db/dberrors/spatial_ref_sys.bob.go index 99af4f55..769f4bc2 100644 --- a/db/dberrors/spatial_ref_sys.bob.go +++ b/db/dberrors/spatial_ref_sys.bob.go @@ -1,4 +1,4 @@ -// Code generated by BobGen psql v0.0.4-0.20251216163753-8e325b7c773a+dirty. DO NOT EDIT. +// Code generated by BobGen psql v0.0.4-0.20260105020634-53e08d840e47+dirty. DO NOT EDIT. // This file is meant to be re-generated in place and/or deleted at any time. package dberrors diff --git a/db/dberrors/user_.bob.go b/db/dberrors/user_.bob.go index 1a7c9554..8b8b7295 100644 --- a/db/dberrors/user_.bob.go +++ b/db/dberrors/user_.bob.go @@ -1,4 +1,4 @@ -// Code generated by BobGen psql v0.0.4-0.20251216163753-8e325b7c773a+dirty. DO NOT EDIT. +// Code generated by BobGen psql v0.0.4-0.20260105020634-53e08d840e47+dirty. DO NOT EDIT. // This file is meant to be re-generated in place and/or deleted at any time. package dberrors diff --git a/db/dbinfo/bob_types.bob.go b/db/dbinfo/bob_types.bob.go index 51fad5b1..53d5f9be 100644 --- a/db/dbinfo/bob_types.bob.go +++ b/db/dbinfo/bob_types.bob.go @@ -1,4 +1,4 @@ -// Code generated by BobGen psql v0.0.4-0.20251216163753-8e325b7c773a+dirty. DO NOT EDIT. +// Code generated by BobGen psql v0.0.4-0.20260105020634-53e08d840e47+dirty. DO NOT EDIT. // This file is meant to be re-generated in place and/or deleted at any time. package dbinfo diff --git a/db/dbinfo/fieldseeker.containerrelate.bob.go b/db/dbinfo/fieldseeker.containerrelate.bob.go index ab7f390b..1e2bcf1a 100644 --- a/db/dbinfo/fieldseeker.containerrelate.bob.go +++ b/db/dbinfo/fieldseeker.containerrelate.bob.go @@ -1,4 +1,4 @@ -// Code generated by BobGen psql v0.0.4-0.20251216163753-8e325b7c773a+dirty. DO NOT EDIT. +// Code generated by BobGen psql v0.0.4-0.20260105020634-53e08d840e47+dirty. DO NOT EDIT. // This file is meant to be re-generated in place and/or deleted at any time. package dbinfo @@ -27,9 +27,9 @@ var FieldseekerContainerrelates = Table[ Globalid: column{ Name: "globalid", DBType: "uuid", - Default: "NULL", + Default: "", Comment: "Original attribute from ArcGIS API is GlobalID", - Nullable: true, + Nullable: false, Generated: false, AutoIncr: false, }, diff --git a/db/dbinfo/fieldseeker.fieldscoutinglog.bob.go b/db/dbinfo/fieldseeker.fieldscoutinglog.bob.go index 41ff4b20..afd0bff9 100644 --- a/db/dbinfo/fieldseeker.fieldscoutinglog.bob.go +++ b/db/dbinfo/fieldseeker.fieldscoutinglog.bob.go @@ -1,4 +1,4 @@ -// Code generated by BobGen psql v0.0.4-0.20251216163753-8e325b7c773a+dirty. DO NOT EDIT. +// Code generated by BobGen psql v0.0.4-0.20260105020634-53e08d840e47+dirty. DO NOT EDIT. // This file is meant to be re-generated in place and/or deleted at any time. package dbinfo @@ -36,9 +36,9 @@ var FieldseekerFieldscoutinglogs = Table[ Globalid: column{ Name: "globalid", DBType: "uuid", - Default: "NULL", + Default: "", Comment: "Original attribute from ArcGIS API is GlobalID", - Nullable: true, + Nullable: false, Generated: false, AutoIncr: false, }, diff --git a/db/dbinfo/fieldseeker.habitatrelate.bob.go b/db/dbinfo/fieldseeker.habitatrelate.bob.go index 75d75900..c3714682 100644 --- a/db/dbinfo/fieldseeker.habitatrelate.bob.go +++ b/db/dbinfo/fieldseeker.habitatrelate.bob.go @@ -1,4 +1,4 @@ -// Code generated by BobGen psql v0.0.4-0.20251216163753-8e325b7c773a+dirty. DO NOT EDIT. +// Code generated by BobGen psql v0.0.4-0.20260105020634-53e08d840e47+dirty. DO NOT EDIT. // This file is meant to be re-generated in place and/or deleted at any time. package dbinfo @@ -36,9 +36,9 @@ var FieldseekerHabitatrelates = Table[ Globalid: column{ Name: "globalid", DBType: "uuid", - Default: "NULL", + Default: "", Comment: "Original attribute from ArcGIS API is GlobalID", - Nullable: true, + Nullable: false, Generated: false, AutoIncr: false, }, diff --git a/db/dbinfo/fieldseeker.inspectionsample.bob.go b/db/dbinfo/fieldseeker.inspectionsample.bob.go index 5c6914b4..bf82b8fb 100644 --- a/db/dbinfo/fieldseeker.inspectionsample.bob.go +++ b/db/dbinfo/fieldseeker.inspectionsample.bob.go @@ -1,4 +1,4 @@ -// Code generated by BobGen psql v0.0.4-0.20251216163753-8e325b7c773a+dirty. DO NOT EDIT. +// Code generated by BobGen psql v0.0.4-0.20260105020634-53e08d840e47+dirty. DO NOT EDIT. // This file is meant to be re-generated in place and/or deleted at any time. package dbinfo @@ -63,9 +63,9 @@ var FieldseekerInspectionsamples = Table[ Globalid: column{ Name: "globalid", DBType: "uuid", - Default: "NULL", + Default: "", Comment: "Original attribute from ArcGIS API is GlobalID", - Nullable: true, + Nullable: false, Generated: false, AutoIncr: false, }, diff --git a/db/dbinfo/fieldseeker.inspectionsampledetail.bob.go b/db/dbinfo/fieldseeker.inspectionsampledetail.bob.go index 35ae4af1..f7fcac72 100644 --- a/db/dbinfo/fieldseeker.inspectionsampledetail.bob.go +++ b/db/dbinfo/fieldseeker.inspectionsampledetail.bob.go @@ -1,4 +1,4 @@ -// Code generated by BobGen psql v0.0.4-0.20251216163753-8e325b7c773a+dirty. DO NOT EDIT. +// Code generated by BobGen psql v0.0.4-0.20260105020634-53e08d840e47+dirty. DO NOT EDIT. // This file is meant to be re-generated in place and/or deleted at any time. package dbinfo @@ -153,9 +153,9 @@ var FieldseekerInspectionsampledetails = Table[ Globalid: column{ Name: "globalid", DBType: "uuid", - Default: "NULL", + Default: "", Comment: "Original attribute from ArcGIS API is GlobalID", - Nullable: true, + Nullable: false, Generated: false, AutoIncr: false, }, diff --git a/db/dbinfo/fieldseeker.linelocation.bob.go b/db/dbinfo/fieldseeker.linelocation.bob.go index 6d830898..156ed57f 100644 --- a/db/dbinfo/fieldseeker.linelocation.bob.go +++ b/db/dbinfo/fieldseeker.linelocation.bob.go @@ -1,4 +1,4 @@ -// Code generated by BobGen psql v0.0.4-0.20251216163753-8e325b7c773a+dirty. DO NOT EDIT. +// Code generated by BobGen psql v0.0.4-0.20260105020634-53e08d840e47+dirty. DO NOT EDIT. // This file is meant to be re-generated in place and/or deleted at any time. package dbinfo @@ -189,9 +189,9 @@ var FieldseekerLinelocations = Table[ Globalid: column{ Name: "globalid", DBType: "uuid", - Default: "NULL", + Default: "", Comment: "Original attribute from ArcGIS API is GlobalID", - Nullable: true, + Nullable: false, Generated: false, AutoIncr: false, }, diff --git a/db/dbinfo/fieldseeker.locationtracking.bob.go b/db/dbinfo/fieldseeker.locationtracking.bob.go index 6cd5337e..9d8bb618 100644 --- a/db/dbinfo/fieldseeker.locationtracking.bob.go +++ b/db/dbinfo/fieldseeker.locationtracking.bob.go @@ -1,4 +1,4 @@ -// Code generated by BobGen psql v0.0.4-0.20251216163753-8e325b7c773a+dirty. DO NOT EDIT. +// Code generated by BobGen psql v0.0.4-0.20260105020634-53e08d840e47+dirty. DO NOT EDIT. // This file is meant to be re-generated in place and/or deleted at any time. package dbinfo @@ -72,9 +72,9 @@ var FieldseekerLocationtrackings = Table[ Globalid: column{ Name: "globalid", DBType: "uuid", - Default: "NULL", + Default: "", Comment: "Original attribute from ArcGIS API is GlobalID", - Nullable: true, + Nullable: false, Generated: false, AutoIncr: false, }, diff --git a/db/dbinfo/fieldseeker.mosquitoinspection.bob.go b/db/dbinfo/fieldseeker.mosquitoinspection.bob.go index 0003c5f4..85bcce22 100644 --- a/db/dbinfo/fieldseeker.mosquitoinspection.bob.go +++ b/db/dbinfo/fieldseeker.mosquitoinspection.bob.go @@ -1,4 +1,4 @@ -// Code generated by BobGen psql v0.0.4-0.20251216163753-8e325b7c773a+dirty. DO NOT EDIT. +// Code generated by BobGen psql v0.0.4-0.20260105020634-53e08d840e47+dirty. DO NOT EDIT. // This file is meant to be re-generated in place and/or deleted at any time. package dbinfo @@ -315,9 +315,9 @@ var FieldseekerMosquitoinspections = Table[ Globalid: column{ Name: "globalid", DBType: "uuid", - Default: "NULL", + Default: "", Comment: "Original attribute from ArcGIS API is GlobalID", - Nullable: true, + Nullable: false, Generated: false, AutoIncr: false, }, diff --git a/db/dbinfo/fieldseeker.pointlocation.bob.go b/db/dbinfo/fieldseeker.pointlocation.bob.go index 76624ff8..e029258e 100644 --- a/db/dbinfo/fieldseeker.pointlocation.bob.go +++ b/db/dbinfo/fieldseeker.pointlocation.bob.go @@ -1,4 +1,4 @@ -// Code generated by BobGen psql v0.0.4-0.20251216163753-8e325b7c773a+dirty. DO NOT EDIT. +// Code generated by BobGen psql v0.0.4-0.20260105020634-53e08d840e47+dirty. DO NOT EDIT. // This file is meant to be re-generated in place and/or deleted at any time. package dbinfo @@ -162,9 +162,9 @@ var FieldseekerPointlocations = Table[ Globalid: column{ Name: "globalid", DBType: "uuid", - Default: "NULL", + Default: "", Comment: "Original attribute from ArcGIS API is GlobalID", - Nullable: true, + Nullable: false, Generated: false, AutoIncr: false, }, diff --git a/db/dbinfo/fieldseeker.polygonlocation.bob.go b/db/dbinfo/fieldseeker.polygonlocation.bob.go index acf1da69..2ee4796f 100644 --- a/db/dbinfo/fieldseeker.polygonlocation.bob.go +++ b/db/dbinfo/fieldseeker.polygonlocation.bob.go @@ -1,4 +1,4 @@ -// Code generated by BobGen psql v0.0.4-0.20251216163753-8e325b7c773a+dirty. DO NOT EDIT. +// Code generated by BobGen psql v0.0.4-0.20260105020634-53e08d840e47+dirty. DO NOT EDIT. // This file is meant to be re-generated in place and/or deleted at any time. package dbinfo @@ -171,9 +171,9 @@ var FieldseekerPolygonlocations = Table[ Globalid: column{ Name: "globalid", DBType: "uuid", - Default: "NULL", + Default: "", Comment: "Original attribute from ArcGIS API is GlobalID", - Nullable: true, + Nullable: false, Generated: false, AutoIncr: false, }, diff --git a/db/dbinfo/fieldseeker.pool.bob.go b/db/dbinfo/fieldseeker.pool.bob.go index 394739e6..e6ffdf1a 100644 --- a/db/dbinfo/fieldseeker.pool.bob.go +++ b/db/dbinfo/fieldseeker.pool.bob.go @@ -1,4 +1,4 @@ -// Code generated by BobGen psql v0.0.4-0.20251216163753-8e325b7c773a+dirty. DO NOT EDIT. +// Code generated by BobGen psql v0.0.4-0.20260105020634-53e08d840e47+dirty. DO NOT EDIT. // This file is meant to be re-generated in place and/or deleted at any time. package dbinfo @@ -135,9 +135,9 @@ var FieldseekerPools = Table[ Globalid: column{ Name: "globalid", DBType: "uuid", - Default: "NULL", + Default: "", Comment: "Original attribute from ArcGIS API is GlobalID", - Nullable: true, + Nullable: false, Generated: false, AutoIncr: false, }, diff --git a/db/dbinfo/fieldseeker.pooldetail.bob.go b/db/dbinfo/fieldseeker.pooldetail.bob.go index 73c7b66a..90fcdd38 100644 --- a/db/dbinfo/fieldseeker.pooldetail.bob.go +++ b/db/dbinfo/fieldseeker.pooldetail.bob.go @@ -1,4 +1,4 @@ -// Code generated by BobGen psql v0.0.4-0.20251216163753-8e325b7c773a+dirty. DO NOT EDIT. +// Code generated by BobGen psql v0.0.4-0.20260105020634-53e08d840e47+dirty. DO NOT EDIT. // This file is meant to be re-generated in place and/or deleted at any time. package dbinfo @@ -63,9 +63,9 @@ var FieldseekerPooldetails = Table[ Globalid: column{ Name: "globalid", DBType: "uuid", - Default: "NULL", + Default: "", Comment: "Original attribute from ArcGIS API is GlobalID", - Nullable: true, + Nullable: false, Generated: false, AutoIncr: false, }, diff --git a/db/dbinfo/fieldseeker.proposedtreatmentarea.bob.go b/db/dbinfo/fieldseeker.proposedtreatmentarea.bob.go index 93691667..f8903bb9 100644 --- a/db/dbinfo/fieldseeker.proposedtreatmentarea.bob.go +++ b/db/dbinfo/fieldseeker.proposedtreatmentarea.bob.go @@ -1,4 +1,4 @@ -// Code generated by BobGen psql v0.0.4-0.20251216163753-8e325b7c773a+dirty. DO NOT EDIT. +// Code generated by BobGen psql v0.0.4-0.20260105020634-53e08d840e47+dirty. DO NOT EDIT. // This file is meant to be re-generated in place and/or deleted at any time. package dbinfo @@ -144,9 +144,9 @@ var FieldseekerProposedtreatmentareas = Table[ Globalid: column{ Name: "globalid", DBType: "uuid", - Default: "NULL", + Default: "", Comment: "Original attribute from ArcGIS API is GlobalID", - Nullable: true, + Nullable: false, Generated: false, AutoIncr: false, }, diff --git a/db/dbinfo/fieldseeker.qamosquitoinspection.bob.go b/db/dbinfo/fieldseeker.qamosquitoinspection.bob.go index b8440900..c5ef6dc9 100644 --- a/db/dbinfo/fieldseeker.qamosquitoinspection.bob.go +++ b/db/dbinfo/fieldseeker.qamosquitoinspection.bob.go @@ -1,4 +1,4 @@ -// Code generated by BobGen psql v0.0.4-0.20251216163753-8e325b7c773a+dirty. DO NOT EDIT. +// Code generated by BobGen psql v0.0.4-0.20260105020634-53e08d840e47+dirty. DO NOT EDIT. // This file is meant to be re-generated in place and/or deleted at any time. package dbinfo @@ -81,9 +81,9 @@ var FieldseekerQamosquitoinspections = Table[ Globalid: column{ Name: "globalid", DBType: "uuid", - Default: "NULL", + Default: "", Comment: "Original attribute from ArcGIS API is GlobalID", - Nullable: true, + Nullable: false, Generated: false, AutoIncr: false, }, diff --git a/db/dbinfo/fieldseeker.rodentlocation.bob.go b/db/dbinfo/fieldseeker.rodentlocation.bob.go index 932afed3..f47e7680 100644 --- a/db/dbinfo/fieldseeker.rodentlocation.bob.go +++ b/db/dbinfo/fieldseeker.rodentlocation.bob.go @@ -1,4 +1,4 @@ -// Code generated by BobGen psql v0.0.4-0.20251216163753-8e325b7c773a+dirty. DO NOT EDIT. +// Code generated by BobGen psql v0.0.4-0.20260105020634-53e08d840e47+dirty. DO NOT EDIT. // This file is meant to be re-generated in place and/or deleted at any time. package dbinfo @@ -198,9 +198,9 @@ var FieldseekerRodentlocations = Table[ Globalid: column{ Name: "globalid", DBType: "uuid", - Default: "NULL", + Default: "", Comment: "Original attribute from ArcGIS API is GlobalID", - Nullable: true, + Nullable: false, Generated: false, AutoIncr: false, }, diff --git a/db/dbinfo/fieldseeker.samplecollection.bob.go b/db/dbinfo/fieldseeker.samplecollection.bob.go index d42e328f..4bddf634 100644 --- a/db/dbinfo/fieldseeker.samplecollection.bob.go +++ b/db/dbinfo/fieldseeker.samplecollection.bob.go @@ -1,4 +1,4 @@ -// Code generated by BobGen psql v0.0.4-0.20251216163753-8e325b7c773a+dirty. DO NOT EDIT. +// Code generated by BobGen psql v0.0.4-0.20260105020634-53e08d840e47+dirty. DO NOT EDIT. // This file is meant to be re-generated in place and/or deleted at any time. package dbinfo @@ -297,9 +297,9 @@ var FieldseekerSamplecollections = Table[ Globalid: column{ Name: "globalid", DBType: "uuid", - Default: "NULL", + Default: "", Comment: "Original attribute from ArcGIS API is GlobalID", - Nullable: true, + Nullable: false, Generated: false, AutoIncr: false, }, diff --git a/db/dbinfo/fieldseeker.samplelocation.bob.go b/db/dbinfo/fieldseeker.samplelocation.bob.go index 2c909d45..e3dccb53 100644 --- a/db/dbinfo/fieldseeker.samplelocation.bob.go +++ b/db/dbinfo/fieldseeker.samplelocation.bob.go @@ -1,4 +1,4 @@ -// Code generated by BobGen psql v0.0.4-0.20251216163753-8e325b7c773a+dirty. DO NOT EDIT. +// Code generated by BobGen psql v0.0.4-0.20260105020634-53e08d840e47+dirty. DO NOT EDIT. // This file is meant to be re-generated in place and/or deleted at any time. package dbinfo @@ -144,9 +144,9 @@ var FieldseekerSamplelocations = Table[ Globalid: column{ Name: "globalid", DBType: "uuid", - Default: "NULL", + Default: "", Comment: "Original attribute from ArcGIS API is GlobalID", - Nullable: true, + Nullable: false, Generated: false, AutoIncr: false, }, diff --git a/db/dbinfo/fieldseeker.servicerequest.bob.go b/db/dbinfo/fieldseeker.servicerequest.bob.go index 8d305150..ec5161d7 100644 --- a/db/dbinfo/fieldseeker.servicerequest.bob.go +++ b/db/dbinfo/fieldseeker.servicerequest.bob.go @@ -1,4 +1,4 @@ -// Code generated by BobGen psql v0.0.4-0.20251216163753-8e325b7c773a+dirty. DO NOT EDIT. +// Code generated by BobGen psql v0.0.4-0.20260105020634-53e08d840e47+dirty. DO NOT EDIT. // This file is meant to be re-generated in place and/or deleted at any time. package dbinfo @@ -504,9 +504,9 @@ var FieldseekerServicerequests = Table[ Globalid: column{ Name: "globalid", DBType: "uuid", - Default: "NULL", + Default: "", Comment: "Original attribute from ArcGIS API is GlobalID", - Nullable: true, + Nullable: false, Generated: false, AutoIncr: false, }, diff --git a/db/dbinfo/fieldseeker.speciesabundance.bob.go b/db/dbinfo/fieldseeker.speciesabundance.bob.go index 920b99ae..8a970ac6 100644 --- a/db/dbinfo/fieldseeker.speciesabundance.bob.go +++ b/db/dbinfo/fieldseeker.speciesabundance.bob.go @@ -1,4 +1,4 @@ -// Code generated by BobGen psql v0.0.4-0.20251216163753-8e325b7c773a+dirty. DO NOT EDIT. +// Code generated by BobGen psql v0.0.4-0.20260105020634-53e08d840e47+dirty. DO NOT EDIT. // This file is meant to be re-generated in place and/or deleted at any time. package dbinfo @@ -108,9 +108,9 @@ var FieldseekerSpeciesabundances = Table[ Globalid: column{ Name: "globalid", DBType: "uuid", - Default: "NULL", + Default: "", Comment: "Original attribute from ArcGIS API is GlobalID", - Nullable: true, + Nullable: false, Generated: false, AutoIncr: false, }, diff --git a/db/dbinfo/fieldseeker.stormdrain.bob.go b/db/dbinfo/fieldseeker.stormdrain.bob.go index c843983b..8e2423a1 100644 --- a/db/dbinfo/fieldseeker.stormdrain.bob.go +++ b/db/dbinfo/fieldseeker.stormdrain.bob.go @@ -1,4 +1,4 @@ -// Code generated by BobGen psql v0.0.4-0.20251216163753-8e325b7c773a+dirty. DO NOT EDIT. +// Code generated by BobGen psql v0.0.4-0.20260105020634-53e08d840e47+dirty. DO NOT EDIT. // This file is meant to be re-generated in place and/or deleted at any time. package dbinfo @@ -63,9 +63,9 @@ var FieldseekerStormdrains = Table[ Globalid: column{ Name: "globalid", DBType: "uuid", - Default: "NULL", + Default: "", Comment: "Original attribute from ArcGIS API is GlobalID", - Nullable: true, + Nullable: false, Generated: false, AutoIncr: false, }, diff --git a/db/dbinfo/fieldseeker.timecard.bob.go b/db/dbinfo/fieldseeker.timecard.bob.go index 1592b2a6..7efd39c5 100644 --- a/db/dbinfo/fieldseeker.timecard.bob.go +++ b/db/dbinfo/fieldseeker.timecard.bob.go @@ -1,4 +1,4 @@ -// Code generated by BobGen psql v0.0.4-0.20251216163753-8e325b7c773a+dirty. DO NOT EDIT. +// Code generated by BobGen psql v0.0.4-0.20260105020634-53e08d840e47+dirty. DO NOT EDIT. // This file is meant to be re-generated in place and/or deleted at any time. package dbinfo @@ -108,9 +108,9 @@ var FieldseekerTimecards = Table[ Globalid: column{ Name: "globalid", DBType: "uuid", - Default: "NULL", + Default: "", Comment: "Original attribute from ArcGIS API is GlobalID", - Nullable: true, + Nullable: false, Generated: false, AutoIncr: false, }, diff --git a/db/dbinfo/fieldseeker.trapdata.bob.go b/db/dbinfo/fieldseeker.trapdata.bob.go index 9364415b..9de37a74 100644 --- a/db/dbinfo/fieldseeker.trapdata.bob.go +++ b/db/dbinfo/fieldseeker.trapdata.bob.go @@ -1,4 +1,4 @@ -// Code generated by BobGen psql v0.0.4-0.20251216163753-8e325b7c773a+dirty. DO NOT EDIT. +// Code generated by BobGen psql v0.0.4-0.20260105020634-53e08d840e47+dirty. DO NOT EDIT. // This file is meant to be re-generated in place and/or deleted at any time. package dbinfo @@ -189,9 +189,9 @@ var FieldseekerTrapdata = Table[ Globalid: column{ Name: "globalid", DBType: "uuid", - Default: "NULL", + Default: "", Comment: "Original attribute from ArcGIS API is GlobalID", - Nullable: true, + Nullable: false, Generated: false, AutoIncr: false, }, diff --git a/db/dbinfo/fieldseeker.traplocation.bob.go b/db/dbinfo/fieldseeker.traplocation.bob.go index 4875f955..d1f073c5 100644 --- a/db/dbinfo/fieldseeker.traplocation.bob.go +++ b/db/dbinfo/fieldseeker.traplocation.bob.go @@ -1,4 +1,4 @@ -// Code generated by BobGen psql v0.0.4-0.20251216163753-8e325b7c773a+dirty. DO NOT EDIT. +// Code generated by BobGen psql v0.0.4-0.20260105020634-53e08d840e47+dirty. DO NOT EDIT. // This file is meant to be re-generated in place and/or deleted at any time. package dbinfo @@ -144,9 +144,9 @@ var FieldseekerTraplocations = Table[ Globalid: column{ Name: "globalid", DBType: "uuid", - Default: "NULL", + Default: "", Comment: "Original attribute from ArcGIS API is GlobalID", - Nullable: true, + Nullable: false, Generated: false, AutoIncr: false, }, diff --git a/db/dbinfo/fieldseeker.treatment.bob.go b/db/dbinfo/fieldseeker.treatment.bob.go index e2eb8687..13f82b20 100644 --- a/db/dbinfo/fieldseeker.treatment.bob.go +++ b/db/dbinfo/fieldseeker.treatment.bob.go @@ -1,4 +1,4 @@ -// Code generated by BobGen psql v0.0.4-0.20251216163753-8e325b7c773a+dirty. DO NOT EDIT. +// Code generated by BobGen psql v0.0.4-0.20260105020634-53e08d840e47+dirty. DO NOT EDIT. // This file is meant to be re-generated in place and/or deleted at any time. package dbinfo @@ -279,9 +279,9 @@ var FieldseekerTreatments = Table[ Globalid: column{ Name: "globalid", DBType: "uuid", - Default: "NULL", + Default: "", Comment: "Original attribute from ArcGIS API is GlobalID", - Nullable: true, + Nullable: false, Generated: false, AutoIncr: false, }, diff --git a/db/dbinfo/fieldseeker.treatmentarea.bob.go b/db/dbinfo/fieldseeker.treatmentarea.bob.go index c44f18f6..9ef11512 100644 --- a/db/dbinfo/fieldseeker.treatmentarea.bob.go +++ b/db/dbinfo/fieldseeker.treatmentarea.bob.go @@ -1,4 +1,4 @@ -// Code generated by BobGen psql v0.0.4-0.20251216163753-8e325b7c773a+dirty. DO NOT EDIT. +// Code generated by BobGen psql v0.0.4-0.20260105020634-53e08d840e47+dirty. DO NOT EDIT. // This file is meant to be re-generated in place and/or deleted at any time. package dbinfo @@ -63,9 +63,9 @@ var FieldseekerTreatmentareas = Table[ Globalid: column{ Name: "globalid", DBType: "uuid", - Default: "NULL", + Default: "", Comment: "Original attribute from ArcGIS API is GlobalID", - Nullable: true, + Nullable: false, Generated: false, AutoIncr: false, }, diff --git a/db/dbinfo/fieldseeker.zones.bob.go b/db/dbinfo/fieldseeker.zones.bob.go index 04e94a1d..25b5bca1 100644 --- a/db/dbinfo/fieldseeker.zones.bob.go +++ b/db/dbinfo/fieldseeker.zones.bob.go @@ -1,4 +1,4 @@ -// Code generated by BobGen psql v0.0.4-0.20251216163753-8e325b7c773a+dirty. DO NOT EDIT. +// Code generated by BobGen psql v0.0.4-0.20260105020634-53e08d840e47+dirty. DO NOT EDIT. // This file is meant to be re-generated in place and/or deleted at any time. package dbinfo @@ -36,9 +36,9 @@ var FieldseekerZones = Table[ Globalid: column{ Name: "globalid", DBType: "uuid", - Default: "NULL", + Default: "", Comment: "Original attribute from ArcGIS API is GlobalID", - Nullable: true, + Nullable: false, Generated: false, AutoIncr: false, }, diff --git a/db/dbinfo/fieldseeker.zones2.bob.go b/db/dbinfo/fieldseeker.zones2.bob.go index 987d7370..8adf5c41 100644 --- a/db/dbinfo/fieldseeker.zones2.bob.go +++ b/db/dbinfo/fieldseeker.zones2.bob.go @@ -1,4 +1,4 @@ -// Code generated by BobGen psql v0.0.4-0.20251216163753-8e325b7c773a+dirty. DO NOT EDIT. +// Code generated by BobGen psql v0.0.4-0.20260105020634-53e08d840e47+dirty. DO NOT EDIT. // This file is meant to be re-generated in place and/or deleted at any time. package dbinfo @@ -36,9 +36,9 @@ var FieldseekerZones2s = Table[ Globalid: column{ Name: "globalid", DBType: "uuid", - Default: "NULL", + Default: "", Comment: "Original attribute from ArcGIS API is GlobalID", - Nullable: true, + Nullable: false, Generated: false, AutoIncr: false, }, diff --git a/db/dbinfo/fieldseeker_sync.bob.go b/db/dbinfo/fieldseeker_sync.bob.go index cd4359fb..6a53ec8e 100644 --- a/db/dbinfo/fieldseeker_sync.bob.go +++ b/db/dbinfo/fieldseeker_sync.bob.go @@ -1,4 +1,4 @@ -// Code generated by BobGen psql v0.0.4-0.20251216163753-8e325b7c773a+dirty. DO NOT EDIT. +// Code generated by BobGen psql v0.0.4-0.20260105020634-53e08d840e47+dirty. DO NOT EDIT. // This file is meant to be re-generated in place and/or deleted at any time. package dbinfo diff --git a/db/dbinfo/geography_columns.bob.go b/db/dbinfo/geography_columns.bob.go index 70691691..0cd86251 100644 --- a/db/dbinfo/geography_columns.bob.go +++ b/db/dbinfo/geography_columns.bob.go @@ -1,4 +1,4 @@ -// Code generated by BobGen psql v0.0.4-0.20251216163753-8e325b7c773a+dirty. DO NOT EDIT. +// Code generated by BobGen psql v0.0.4-0.20260105020634-53e08d840e47+dirty. DO NOT EDIT. // This file is meant to be re-generated in place and/or deleted at any time. package dbinfo diff --git a/db/dbinfo/geometry_columns.bob.go b/db/dbinfo/geometry_columns.bob.go index 4894efba..c560a3d8 100644 --- a/db/dbinfo/geometry_columns.bob.go +++ b/db/dbinfo/geometry_columns.bob.go @@ -1,4 +1,4 @@ -// Code generated by BobGen psql v0.0.4-0.20251216163753-8e325b7c773a+dirty. DO NOT EDIT. +// Code generated by BobGen psql v0.0.4-0.20260105020634-53e08d840e47+dirty. DO NOT EDIT. // This file is meant to be re-generated in place and/or deleted at any time. package dbinfo diff --git a/db/dbinfo/goose_db_version.bob.go b/db/dbinfo/goose_db_version.bob.go index 08b9f23d..60d0e295 100644 --- a/db/dbinfo/goose_db_version.bob.go +++ b/db/dbinfo/goose_db_version.bob.go @@ -1,4 +1,4 @@ -// Code generated by BobGen psql v0.0.4-0.20251216163753-8e325b7c773a+dirty. DO NOT EDIT. +// Code generated by BobGen psql v0.0.4-0.20260105020634-53e08d840e47+dirty. DO NOT EDIT. // This file is meant to be re-generated in place and/or deleted at any time. package dbinfo diff --git a/db/dbinfo/h3_aggregation.bob.go b/db/dbinfo/h3_aggregation.bob.go index fb93a0f7..3f640a73 100644 --- a/db/dbinfo/h3_aggregation.bob.go +++ b/db/dbinfo/h3_aggregation.bob.go @@ -1,4 +1,4 @@ -// Code generated by BobGen psql v0.0.4-0.20251216163753-8e325b7c773a+dirty. DO NOT EDIT. +// Code generated by BobGen psql v0.0.4-0.20260105020634-53e08d840e47+dirty. DO NOT EDIT. // This file is meant to be re-generated in place and/or deleted at any time. package dbinfo diff --git a/db/dbinfo/note_audio.bob.go b/db/dbinfo/note_audio.bob.go index 9e050de1..413aa3e6 100644 --- a/db/dbinfo/note_audio.bob.go +++ b/db/dbinfo/note_audio.bob.go @@ -1,4 +1,4 @@ -// Code generated by BobGen psql v0.0.4-0.20251216163753-8e325b7c773a+dirty. DO NOT EDIT. +// Code generated by BobGen psql v0.0.4-0.20260105020634-53e08d840e47+dirty. DO NOT EDIT. // This file is meant to be re-generated in place and/or deleted at any time. package dbinfo diff --git a/db/dbinfo/note_audio_breadcrumb.bob.go b/db/dbinfo/note_audio_breadcrumb.bob.go index 970909c7..9031f61a 100644 --- a/db/dbinfo/note_audio_breadcrumb.bob.go +++ b/db/dbinfo/note_audio_breadcrumb.bob.go @@ -1,4 +1,4 @@ -// Code generated by BobGen psql v0.0.4-0.20251216163753-8e325b7c773a+dirty. DO NOT EDIT. +// Code generated by BobGen psql v0.0.4-0.20260105020634-53e08d840e47+dirty. DO NOT EDIT. // This file is meant to be re-generated in place and/or deleted at any time. package dbinfo diff --git a/db/dbinfo/note_audio_data.bob.go b/db/dbinfo/note_audio_data.bob.go index 00d2f51c..20b42526 100644 --- a/db/dbinfo/note_audio_data.bob.go +++ b/db/dbinfo/note_audio_data.bob.go @@ -1,4 +1,4 @@ -// Code generated by BobGen psql v0.0.4-0.20251216163753-8e325b7c773a+dirty. DO NOT EDIT. +// Code generated by BobGen psql v0.0.4-0.20260105020634-53e08d840e47+dirty. DO NOT EDIT. // This file is meant to be re-generated in place and/or deleted at any time. package dbinfo diff --git a/db/dbinfo/note_image.bob.go b/db/dbinfo/note_image.bob.go index a7383d6b..36545e55 100644 --- a/db/dbinfo/note_image.bob.go +++ b/db/dbinfo/note_image.bob.go @@ -1,4 +1,4 @@ -// Code generated by BobGen psql v0.0.4-0.20251216163753-8e325b7c773a+dirty. DO NOT EDIT. +// Code generated by BobGen psql v0.0.4-0.20260105020634-53e08d840e47+dirty. DO NOT EDIT. // This file is meant to be re-generated in place and/or deleted at any time. package dbinfo diff --git a/db/dbinfo/note_image_breadcrumb.bob.go b/db/dbinfo/note_image_breadcrumb.bob.go index fffce610..a7dd7323 100644 --- a/db/dbinfo/note_image_breadcrumb.bob.go +++ b/db/dbinfo/note_image_breadcrumb.bob.go @@ -1,4 +1,4 @@ -// Code generated by BobGen psql v0.0.4-0.20251216163753-8e325b7c773a+dirty. DO NOT EDIT. +// Code generated by BobGen psql v0.0.4-0.20260105020634-53e08d840e47+dirty. DO NOT EDIT. // This file is meant to be re-generated in place and/or deleted at any time. package dbinfo diff --git a/db/dbinfo/note_image_data.bob.go b/db/dbinfo/note_image_data.bob.go index d96712a7..be198b8f 100644 --- a/db/dbinfo/note_image_data.bob.go +++ b/db/dbinfo/note_image_data.bob.go @@ -1,4 +1,4 @@ -// Code generated by BobGen psql v0.0.4-0.20251216163753-8e325b7c773a+dirty. DO NOT EDIT. +// Code generated by BobGen psql v0.0.4-0.20260105020634-53e08d840e47+dirty. DO NOT EDIT. // This file is meant to be re-generated in place and/or deleted at any time. package dbinfo diff --git a/db/dbinfo/notification.bob.go b/db/dbinfo/notification.bob.go index 90ddf701..b4869c9a 100644 --- a/db/dbinfo/notification.bob.go +++ b/db/dbinfo/notification.bob.go @@ -1,4 +1,4 @@ -// Code generated by BobGen psql v0.0.4-0.20251216163753-8e325b7c773a+dirty. DO NOT EDIT. +// Code generated by BobGen psql v0.0.4-0.20260105020634-53e08d840e47+dirty. DO NOT EDIT. // This file is meant to be re-generated in place and/or deleted at any time. package dbinfo diff --git a/db/dbinfo/oauth_token.bob.go b/db/dbinfo/oauth_token.bob.go index 3095e160..e72e1cb2 100644 --- a/db/dbinfo/oauth_token.bob.go +++ b/db/dbinfo/oauth_token.bob.go @@ -1,4 +1,4 @@ -// Code generated by BobGen psql v0.0.4-0.20251216163753-8e325b7c773a+dirty. DO NOT EDIT. +// Code generated by BobGen psql v0.0.4-0.20260105020634-53e08d840e47+dirty. DO NOT EDIT. // This file is meant to be re-generated in place and/or deleted at any time. package dbinfo diff --git a/db/dbinfo/organization.bob.go b/db/dbinfo/organization.bob.go index b3e95620..7b707d42 100644 --- a/db/dbinfo/organization.bob.go +++ b/db/dbinfo/organization.bob.go @@ -1,4 +1,4 @@ -// Code generated by BobGen psql v0.0.4-0.20251216163753-8e325b7c773a+dirty. DO NOT EDIT. +// Code generated by BobGen psql v0.0.4-0.20260105020634-53e08d840e47+dirty. DO NOT EDIT. // This file is meant to be re-generated in place and/or deleted at any time. package dbinfo diff --git a/db/dbinfo/raster_columns.bob.go b/db/dbinfo/raster_columns.bob.go index 1614a40d..485a0e21 100644 --- a/db/dbinfo/raster_columns.bob.go +++ b/db/dbinfo/raster_columns.bob.go @@ -1,4 +1,4 @@ -// Code generated by BobGen psql v0.0.4-0.20251216163753-8e325b7c773a+dirty. DO NOT EDIT. +// Code generated by BobGen psql v0.0.4-0.20260105020634-53e08d840e47+dirty. DO NOT EDIT. // This file is meant to be re-generated in place and/or deleted at any time. package dbinfo diff --git a/db/dbinfo/raster_overviews.bob.go b/db/dbinfo/raster_overviews.bob.go index 08f626ea..40e7ff4b 100644 --- a/db/dbinfo/raster_overviews.bob.go +++ b/db/dbinfo/raster_overviews.bob.go @@ -1,4 +1,4 @@ -// Code generated by BobGen psql v0.0.4-0.20251216163753-8e325b7c773a+dirty. DO NOT EDIT. +// Code generated by BobGen psql v0.0.4-0.20260105020634-53e08d840e47+dirty. DO NOT EDIT. // This file is meant to be re-generated in place and/or deleted at any time. package dbinfo diff --git a/db/dbinfo/sessions.bob.go b/db/dbinfo/sessions.bob.go index 1ddf6b55..365152f9 100644 --- a/db/dbinfo/sessions.bob.go +++ b/db/dbinfo/sessions.bob.go @@ -1,4 +1,4 @@ -// Code generated by BobGen psql v0.0.4-0.20251216163753-8e325b7c773a+dirty. DO NOT EDIT. +// Code generated by BobGen psql v0.0.4-0.20260105020634-53e08d840e47+dirty. DO NOT EDIT. // This file is meant to be re-generated in place and/or deleted at any time. package dbinfo diff --git a/db/dbinfo/spatial_ref_sys.bob.go b/db/dbinfo/spatial_ref_sys.bob.go index 8ef1f8f5..cd06d3f8 100644 --- a/db/dbinfo/spatial_ref_sys.bob.go +++ b/db/dbinfo/spatial_ref_sys.bob.go @@ -1,4 +1,4 @@ -// Code generated by BobGen psql v0.0.4-0.20251216163753-8e325b7c773a+dirty. DO NOT EDIT. +// Code generated by BobGen psql v0.0.4-0.20260105020634-53e08d840e47+dirty. DO NOT EDIT. // This file is meant to be re-generated in place and/or deleted at any time. package dbinfo diff --git a/db/dbinfo/user_.bob.go b/db/dbinfo/user_.bob.go index 3f640766..99a9e838 100644 --- a/db/dbinfo/user_.bob.go +++ b/db/dbinfo/user_.bob.go @@ -1,4 +1,4 @@ -// Code generated by BobGen psql v0.0.4-0.20251216163753-8e325b7c773a+dirty. DO NOT EDIT. +// Code generated by BobGen psql v0.0.4-0.20260105020634-53e08d840e47+dirty. DO NOT EDIT. // This file is meant to be re-generated in place and/or deleted at any time. package dbinfo diff --git a/db/enums/enums.bob.go b/db/enums/enums.bob.go index 77555850..b10448e7 100644 --- a/db/enums/enums.bob.go +++ b/db/enums/enums.bob.go @@ -1,4 +1,4 @@ -// Code generated by BobGen psql v0.0.4-0.20251216163753-8e325b7c773a+dirty. DO NOT EDIT. +// Code generated by BobGen psql v0.0.4-0.20260105020634-53e08d840e47+dirty. DO NOT EDIT. // This file is meant to be re-generated in place and/or deleted at any time. package enums diff --git a/db/factory/bobfactory_context.bob.go b/db/factory/bobfactory_context.bob.go index 88d7a22e..d6041b63 100644 --- a/db/factory/bobfactory_context.bob.go +++ b/db/factory/bobfactory_context.bob.go @@ -1,4 +1,4 @@ -// Code generated by BobGen psql v0.0.4-0.20251216163753-8e325b7c773a+dirty. DO NOT EDIT. +// Code generated by BobGen psql v0.0.4-0.20260105020634-53e08d840e47+dirty. DO NOT EDIT. // This file is meant to be re-generated in place and/or deleted at any time. package factory diff --git a/db/factory/bobfactory_main.bob.go b/db/factory/bobfactory_main.bob.go index e7347188..29b86e21 100644 --- a/db/factory/bobfactory_main.bob.go +++ b/db/factory/bobfactory_main.bob.go @@ -1,4 +1,4 @@ -// Code generated by BobGen psql v0.0.4-0.20251216163753-8e325b7c773a+dirty. DO NOT EDIT. +// Code generated by BobGen psql v0.0.4-0.20260105020634-53e08d840e47+dirty. DO NOT EDIT. // This file is meant to be re-generated in place and/or deleted at any time. package factory @@ -89,7 +89,7 @@ func (f *Factory) FromExistingFieldseekerContainerrelate(m *models.FieldseekerCo o := &FieldseekerContainerrelateTemplate{f: f, alreadyPersisted: true} o.Objectid = func() int64 { return m.Objectid } - o.Globalid = func() null.Val[uuid.UUID] { return m.Globalid } + o.Globalid = func() uuid.UUID { return m.Globalid } o.CreatedUser = func() null.Val[string] { return m.CreatedUser } o.CreatedDate = func() null.Val[time.Time] { return m.CreatedDate } o.LastEditedUser = func() null.Val[string] { return m.LastEditedUser } @@ -136,7 +136,7 @@ func (f *Factory) FromExistingFieldseekerFieldscoutinglog(m *models.FieldseekerF o.Objectid = func() int64 { return m.Objectid } o.Status = func() null.Val[int16] { return m.Status } - o.Globalid = func() null.Val[uuid.UUID] { return m.Globalid } + o.Globalid = func() uuid.UUID { return m.Globalid } o.CreatedUser = func() null.Val[string] { return m.CreatedUser } o.CreatedDate = func() null.Val[time.Time] { return m.CreatedDate } o.LastEditedUser = func() null.Val[string] { return m.LastEditedUser } @@ -179,7 +179,7 @@ func (f *Factory) FromExistingFieldseekerHabitatrelate(m *models.FieldseekerHabi o.Objectid = func() int64 { return m.Objectid } o.ForeignID = func() null.Val[uuid.UUID] { return m.ForeignID } - o.Globalid = func() null.Val[uuid.UUID] { return m.Globalid } + o.Globalid = func() uuid.UUID { return m.Globalid } o.CreatedUser = func() null.Val[string] { return m.CreatedUser } o.CreatedDate = func() null.Val[time.Time] { return m.CreatedDate } o.LastEditedUser = func() null.Val[string] { return m.LastEditedUser } @@ -226,7 +226,7 @@ func (f *Factory) FromExistingFieldseekerInspectionsample(m *models.FieldseekerI o.Sampleid = func() null.Val[string] { return m.Sampleid } o.Processed = func() null.Val[int16] { return m.Processed } o.Idbytech = func() null.Val[string] { return m.Idbytech } - o.Globalid = func() null.Val[uuid.UUID] { return m.Globalid } + o.Globalid = func() uuid.UUID { return m.Globalid } o.CreatedUser = func() null.Val[string] { return m.CreatedUser } o.CreatedDate = func() null.Val[time.Time] { return m.CreatedDate } o.LastEditedUser = func() null.Val[string] { return m.LastEditedUser } @@ -282,7 +282,7 @@ func (f *Factory) FromExistingFieldseekerInspectionsampledetail(m *models.Fields o.Leggcount = func() null.Val[int16] { return m.Leggcount } o.Ldomstage = func() null.Val[string] { return m.Ldomstage } o.Comments = func() null.Val[string] { return m.Comments } - o.Globalid = func() null.Val[uuid.UUID] { return m.Globalid } + o.Globalid = func() uuid.UUID { return m.Globalid } o.CreatedUser = func() null.Val[string] { return m.CreatedUser } o.CreatedDate = func() null.Val[time.Time] { return m.CreatedDate } o.LastEditedUser = func() null.Val[string] { return m.LastEditedUser } @@ -343,7 +343,7 @@ func (f *Factory) FromExistingFieldseekerLinelocation(m *models.FieldseekerLinel o.WidthFT = func() null.Val[float64] { return m.WidthFT } o.Zone2 = func() null.Val[string] { return m.Zone2 } o.Locationnumber = func() null.Val[int32] { return m.Locationnumber } - o.Globalid = func() null.Val[uuid.UUID] { return m.Globalid } + o.Globalid = func() uuid.UUID { return m.Globalid } o.CreatedUser = func() null.Val[string] { return m.CreatedUser } o.CreatedDate = func() null.Val[time.Time] { return m.CreatedDate } o.LastEditedUser = func() null.Val[string] { return m.LastEditedUser } @@ -410,7 +410,7 @@ func (f *Factory) FromExistingFieldseekerLocationtracking(m *models.FieldseekerL o.CreatedDate = func() null.Val[time.Time] { return m.CreatedDate } o.LastEditedUser = func() null.Val[string] { return m.LastEditedUser } o.LastEditedDate = func() null.Val[time.Time] { return m.LastEditedDate } - o.Globalid = func() null.Val[uuid.UUID] { return m.Globalid } + o.Globalid = func() uuid.UUID { return m.Globalid } o.Fieldtech = func() null.Val[string] { return m.Fieldtech } o.Creationdate = func() null.Val[time.Time] { return m.Creationdate } o.Creator = func() null.Val[string] { return m.Creator } @@ -481,7 +481,7 @@ func (f *Factory) FromExistingFieldseekerMosquitoinspection(m *models.Fieldseeke o.Cbcount = func() null.Val[int16] { return m.Cbcount } o.Containercount = func() null.Val[int16] { return m.Containercount } o.Fieldspecies = func() null.Val[string] { return m.Fieldspecies } - o.Globalid = func() null.Val[uuid.UUID] { return m.Globalid } + o.Globalid = func() uuid.UUID { return m.Globalid } o.CreatedUser = func() null.Val[string] { return m.CreatedUser } o.CreatedDate = func() null.Val[time.Time] { return m.CreatedDate } o.LastEditedUser = func() null.Val[string] { return m.LastEditedUser } @@ -553,7 +553,7 @@ func (f *Factory) FromExistingFieldseekerPointlocation(m *models.FieldseekerPoin o.Larvinspectinterval = func() null.Val[int16] { return m.Larvinspectinterval } o.Zone2 = func() null.Val[string] { return m.Zone2 } o.Locationnumber = func() null.Val[int32] { return m.Locationnumber } - o.Globalid = func() null.Val[uuid.UUID] { return m.Globalid } + o.Globalid = func() uuid.UUID { return m.Globalid } o.Stype = func() null.Val[string] { return m.Stype } o.Lastinspectdate = func() null.Val[time.Time] { return m.Lastinspectdate } o.Lastinspectbreeding = func() null.Val[string] { return m.Lastinspectbreeding } @@ -630,7 +630,7 @@ func (f *Factory) FromExistingFieldseekerPolygonlocation(m *models.FieldseekerPo o.Larvinspectinterval = func() null.Val[int16] { return m.Larvinspectinterval } o.Zone2 = func() null.Val[string] { return m.Zone2 } o.Locationnumber = func() null.Val[int32] { return m.Locationnumber } - o.Globalid = func() null.Val[uuid.UUID] { return m.Globalid } + o.Globalid = func() uuid.UUID { return m.Globalid } o.Lastinspectdate = func() null.Val[time.Time] { return m.Lastinspectdate } o.Lastinspectbreeding = func() null.Val[string] { return m.Lastinspectbreeding } o.Lastinspectavglarvae = func() null.Val[float64] { return m.Lastinspectavglarvae } @@ -700,7 +700,7 @@ func (f *Factory) FromExistingFieldseekerPool(m *models.FieldseekerPool) *Fields o.Testmethod = func() null.Val[string] { return m.Testmethod } o.Diseasetested = func() null.Val[string] { return m.Diseasetested } o.Diseasepos = func() null.Val[string] { return m.Diseasepos } - o.Globalid = func() null.Val[uuid.UUID] { return m.Globalid } + o.Globalid = func() uuid.UUID { return m.Globalid } o.CreatedUser = func() null.Val[string] { return m.CreatedUser } o.CreatedDate = func() null.Val[time.Time] { return m.CreatedDate } o.LastEditedUser = func() null.Val[string] { return m.LastEditedUser } @@ -752,7 +752,7 @@ func (f *Factory) FromExistingFieldseekerPooldetail(m *models.FieldseekerPooldet o.PoolID = func() null.Val[uuid.UUID] { return m.PoolID } o.Species = func() null.Val[string] { return m.Species } o.Females = func() null.Val[int16] { return m.Females } - o.Globalid = func() null.Val[uuid.UUID] { return m.Globalid } + o.Globalid = func() uuid.UUID { return m.Globalid } o.CreatedUser = func() null.Val[string] { return m.CreatedUser } o.CreatedDate = func() null.Val[time.Time] { return m.CreatedDate } o.LastEditedUser = func() null.Val[string] { return m.LastEditedUser } @@ -807,7 +807,7 @@ func (f *Factory) FromExistingFieldseekerProposedtreatmentarea(m *models.Fieldse o.Issprayroute = func() null.Val[int16] { return m.Issprayroute } o.Name = func() null.Val[string] { return m.Name } o.Acres = func() null.Val[float64] { return m.Acres } - o.Globalid = func() null.Val[uuid.UUID] { return m.Globalid } + o.Globalid = func() uuid.UUID { return m.Globalid } o.Exported = func() null.Val[int16] { return m.Exported } o.Targetproduct = func() null.Val[string] { return m.Targetproduct } o.Targetapprate = func() null.Val[float64] { return m.Targetapprate } @@ -865,7 +865,7 @@ func (f *Factory) FromExistingFieldseekerQamosquitoinspection(m *models.Fieldsee o.Avetemp = func() null.Val[float64] { return m.Avetemp } o.Windspeed = func() null.Val[float64] { return m.Windspeed } o.Raingauge = func() null.Val[float64] { return m.Raingauge } - o.Globalid = func() null.Val[uuid.UUID] { return m.Globalid } + o.Globalid = func() uuid.UUID { return m.Globalid } o.Startdatetime = func() null.Val[time.Time] { return m.Startdatetime } o.Enddatetime = func() null.Val[time.Time] { return m.Enddatetime } o.Winddir = func() null.Val[string] { return m.Winddir } @@ -972,7 +972,7 @@ func (f *Factory) FromExistingFieldseekerRodentlocation(m *models.FieldseekerRod o.Lastinspectaction = func() null.Val[string] { return m.Lastinspectaction } o.Lastinspectconditions = func() null.Val[string] { return m.Lastinspectconditions } o.Lastinspectrodentevidence = func() null.Val[string] { return m.Lastinspectrodentevidence } - o.Globalid = func() null.Val[uuid.UUID] { return m.Globalid } + o.Globalid = func() uuid.UUID { return m.Globalid } o.CreatedUser = func() null.Val[string] { return m.CreatedUser } o.CreatedDate = func() null.Val[time.Time] { return m.CreatedDate } o.LastEditedUser = func() null.Val[string] { return m.LastEditedUser } @@ -1045,7 +1045,7 @@ func (f *Factory) FromExistingFieldseekerSamplecollection(m *models.FieldseekerS o.Zone = func() null.Val[string] { return m.Zone } o.Recordstatus = func() null.Val[int16] { return m.Recordstatus } o.Zone2 = func() null.Val[string] { return m.Zone2 } - o.Globalid = func() null.Val[uuid.UUID] { return m.Globalid } + o.Globalid = func() uuid.UUID { return m.Globalid } o.CreatedUser = func() null.Val[string] { return m.CreatedUser } o.CreatedDate = func() null.Val[time.Time] { return m.CreatedDate } o.LastEditedUser = func() null.Val[string] { return m.LastEditedUser } @@ -1106,7 +1106,7 @@ func (f *Factory) FromExistingFieldseekerSamplelocation(m *models.FieldseekerSam o.Nextactiondatescheduled = func() null.Val[time.Time] { return m.Nextactiondatescheduled } o.Zone2 = func() null.Val[string] { return m.Zone2 } o.Locationnumber = func() null.Val[int32] { return m.Locationnumber } - o.Globalid = func() null.Val[uuid.UUID] { return m.Globalid } + o.Globalid = func() uuid.UUID { return m.Globalid } o.CreatedUser = func() null.Val[string] { return m.CreatedUser } o.CreatedDate = func() null.Val[time.Time] { return m.CreatedDate } o.LastEditedUser = func() null.Val[string] { return m.LastEditedUser } @@ -1202,7 +1202,7 @@ func (f *Factory) FromExistingFieldseekerServicerequest(m *models.FieldseekerSer o.Estcompletedate = func() null.Val[time.Time] { return m.Estcompletedate } o.Nextaction = func() null.Val[string] { return m.Nextaction } o.Recordstatus = func() null.Val[int16] { return m.Recordstatus } - o.Globalid = func() null.Val[uuid.UUID] { return m.Globalid } + o.Globalid = func() uuid.UUID { return m.Globalid } o.CreatedUser = func() null.Val[string] { return m.CreatedUser } o.CreatedDate = func() null.Val[time.Time] { return m.CreatedDate } o.LastEditedUser = func() null.Val[string] { return m.LastEditedUser } @@ -1276,7 +1276,7 @@ func (f *Factory) FromExistingFieldseekerSpeciesabundance(m *models.FieldseekerS o.Larvae = func() null.Val[int16] { return m.Larvae } o.Poolstogen = func() null.Val[int16] { return m.Poolstogen } o.Processed = func() null.Val[int16] { return m.Processed } - o.Globalid = func() null.Val[uuid.UUID] { return m.Globalid } + o.Globalid = func() uuid.UUID { return m.Globalid } o.CreatedUser = func() null.Val[string] { return m.CreatedUser } o.CreatedDate = func() null.Val[time.Time] { return m.CreatedDate } o.LastEditedUser = func() null.Val[string] { return m.LastEditedUser } @@ -1332,7 +1332,7 @@ func (f *Factory) FromExistingFieldseekerStormdrain(m *models.FieldseekerStormdr o.Lasttreatdate = func() null.Val[time.Time] { return m.Lasttreatdate } o.Lastaction = func() null.Val[string] { return m.Lastaction } o.Symbology = func() null.Val[string] { return m.Symbology } - o.Globalid = func() null.Val[uuid.UUID] { return m.Globalid } + o.Globalid = func() uuid.UUID { return m.Globalid } o.CreatedUser = func() null.Val[string] { return m.CreatedUser } o.CreatedDate = func() null.Val[time.Time] { return m.CreatedDate } o.LastEditedUser = func() null.Val[string] { return m.LastEditedUser } @@ -1388,7 +1388,7 @@ func (f *Factory) FromExistingFieldseekerTimecard(m *models.FieldseekerTimecard) o.Locationname = func() null.Val[string] { return m.Locationname } o.Zone = func() null.Val[string] { return m.Zone } o.Zone2 = func() null.Val[string] { return m.Zone2 } - o.Globalid = func() null.Val[uuid.UUID] { return m.Globalid } + o.Globalid = func() uuid.UUID { return m.Globalid } o.CreatedUser = func() null.Val[string] { return m.CreatedUser } o.CreatedDate = func() null.Val[time.Time] { return m.CreatedDate } o.LastEditedUser = func() null.Val[string] { return m.LastEditedUser } @@ -1457,7 +1457,7 @@ func (f *Factory) FromExistingFieldseekerTrapdatum(m *models.FieldseekerTrapdatu o.Trapnights = func() null.Val[int16] { return m.Trapnights } o.Zone = func() null.Val[string] { return m.Zone } o.Zone2 = func() null.Val[string] { return m.Zone2 } - o.Globalid = func() null.Val[uuid.UUID] { return m.Globalid } + o.Globalid = func() uuid.UUID { return m.Globalid } o.CreatedUser = func() null.Val[string] { return m.CreatedUser } o.CreatedDate = func() null.Val[time.Time] { return m.CreatedDate } o.LastEditedUser = func() null.Val[string] { return m.LastEditedUser } @@ -1526,7 +1526,7 @@ func (f *Factory) FromExistingFieldseekerTraplocation(m *models.FieldseekerTrapl o.Nextactiondatescheduled = func() null.Val[time.Time] { return m.Nextactiondatescheduled } o.Zone2 = func() null.Val[string] { return m.Zone2 } o.Locationnumber = func() null.Val[int32] { return m.Locationnumber } - o.Globalid = func() null.Val[uuid.UUID] { return m.Globalid } + o.Globalid = func() uuid.UUID { return m.Globalid } o.CreatedUser = func() null.Val[string] { return m.CreatedUser } o.CreatedDate = func() null.Val[time.Time] { return m.CreatedDate } o.LastEditedUser = func() null.Val[string] { return m.LastEditedUser } @@ -1603,7 +1603,7 @@ func (f *Factory) FromExistingFieldseekerTreatment(m *models.FieldseekerTreatmen o.Tirecount = func() null.Val[int16] { return m.Tirecount } o.Cbcount = func() null.Val[int16] { return m.Cbcount } o.Containercount = func() null.Val[int16] { return m.Containercount } - o.Globalid = func() null.Val[uuid.UUID] { return m.Globalid } + o.Globalid = func() uuid.UUID { return m.Globalid } o.Treatmentlength = func() null.Val[float64] { return m.Treatmentlength } o.Treatmenthours = func() null.Val[float64] { return m.Treatmenthours } o.Treatmentlengthunits = func() null.Val[string] { return m.Treatmentlengthunits } @@ -1665,7 +1665,7 @@ func (f *Factory) FromExistingFieldseekerTreatmentarea(m *models.FieldseekerTrea o.SessionID = func() null.Val[uuid.UUID] { return m.SessionID } o.Treatdate = func() null.Val[time.Time] { return m.Treatdate } o.Comments = func() null.Val[string] { return m.Comments } - o.Globalid = func() null.Val[uuid.UUID] { return m.Globalid } + o.Globalid = func() uuid.UUID { return m.Globalid } o.CreatedUser = func() null.Val[string] { return m.CreatedUser } o.CreatedDate = func() null.Val[time.Time] { return m.CreatedDate } o.LastEditedUser = func() null.Val[string] { return m.LastEditedUser } @@ -1712,7 +1712,7 @@ func (f *Factory) FromExistingFieldseekerZone(m *models.FieldseekerZone) *Fields o.Objectid = func() int64 { return m.Objectid } o.Name = func() null.Val[string] { return m.Name } - o.Globalid = func() null.Val[uuid.UUID] { return m.Globalid } + o.Globalid = func() uuid.UUID { return m.Globalid } o.CreatedUser = func() null.Val[string] { return m.CreatedUser } o.CreatedDate = func() null.Val[time.Time] { return m.CreatedDate } o.LastEditedUser = func() null.Val[string] { return m.LastEditedUser } @@ -1758,7 +1758,7 @@ func (f *Factory) FromExistingFieldseekerZones2(m *models.FieldseekerZones2) *Fi o.Objectid = func() int64 { return m.Objectid } o.Name = func() null.Val[string] { return m.Name } - o.Globalid = func() null.Val[uuid.UUID] { return m.Globalid } + o.Globalid = func() uuid.UUID { return m.Globalid } o.CreatedUser = func() null.Val[string] { return m.CreatedUser } o.CreatedDate = func() null.Val[time.Time] { return m.CreatedDate } o.LastEditedUser = func() null.Val[string] { return m.LastEditedUser } diff --git a/db/factory/bobfactory_main.bob_test.go b/db/factory/bobfactory_main.bob_test.go index dacd8b59..92c2ac82 100644 --- a/db/factory/bobfactory_main.bob_test.go +++ b/db/factory/bobfactory_main.bob_test.go @@ -1,4 +1,4 @@ -// Code generated by BobGen psql v0.0.4-0.20251216163753-8e325b7c773a+dirty. DO NOT EDIT. +// Code generated by BobGen psql v0.0.4-0.20260105020634-53e08d840e47+dirty. DO NOT EDIT. // This file is meant to be re-generated in place and/or deleted at any time. package factory diff --git a/db/factory/bobfactory_random.bob.go b/db/factory/bobfactory_random.bob.go index 5466d189..3d12609f 100644 --- a/db/factory/bobfactory_random.bob.go +++ b/db/factory/bobfactory_random.bob.go @@ -1,4 +1,4 @@ -// Code generated by BobGen psql v0.0.4-0.20251216163753-8e325b7c773a+dirty. DO NOT EDIT. +// Code generated by BobGen psql v0.0.4-0.20260105020634-53e08d840e47+dirty. DO NOT EDIT. // This file is meant to be re-generated in place and/or deleted at any time. package factory diff --git a/db/factory/bobfactory_random.bob_test.go b/db/factory/bobfactory_random.bob_test.go index 2bef9f5b..8cf573d9 100644 --- a/db/factory/bobfactory_random.bob_test.go +++ b/db/factory/bobfactory_random.bob_test.go @@ -1,4 +1,4 @@ -// Code generated by BobGen psql v0.0.4-0.20251216163753-8e325b7c773a+dirty. DO NOT EDIT. +// Code generated by BobGen psql v0.0.4-0.20260105020634-53e08d840e47+dirty. DO NOT EDIT. // This file is meant to be re-generated in place and/or deleted at any time. package factory diff --git a/db/factory/fieldseeker.containerrelate.bob.go b/db/factory/fieldseeker.containerrelate.bob.go index fd272378..b7f40005 100644 --- a/db/factory/fieldseeker.containerrelate.bob.go +++ b/db/factory/fieldseeker.containerrelate.bob.go @@ -1,4 +1,4 @@ -// Code generated by BobGen psql v0.0.4-0.20251216163753-8e325b7c773a+dirty. DO NOT EDIT. +// Code generated by BobGen psql v0.0.4-0.20260105020634-53e08d840e47+dirty. DO NOT EDIT. // This file is meant to be re-generated in place and/or deleted at any time. package factory @@ -41,7 +41,7 @@ func (mods FieldseekerContainerrelateModSlice) Apply(ctx context.Context, n *Fie // all columns are optional and should be set by mods type FieldseekerContainerrelateTemplate struct { Objectid func() int64 - Globalid func() null.Val[uuid.UUID] + Globalid func() uuid.UUID CreatedUser func() null.Val[string] CreatedDate func() null.Val[time.Time] LastEditedUser func() null.Val[string] @@ -102,7 +102,7 @@ func (o FieldseekerContainerrelateTemplate) BuildSetter() *models.FieldseekerCon } if o.Globalid != nil { val := o.Globalid() - m.Globalid = omitnull.FromNull(val) + m.Globalid = omit.From(val) } if o.CreatedUser != nil { val := o.CreatedUser() @@ -264,6 +264,10 @@ func (o FieldseekerContainerrelateTemplate) BuildMany(number int) models.Fieldse } func ensureCreatableFieldseekerContainerrelate(m *models.FieldseekerContainerrelateSetter) { + if !(m.Globalid.IsValue()) { + val := random_uuid_UUID(nil) + m.Globalid = omit.From(val) + } if !(m.Geometry.IsValue()) { val := random_types_JSON_json_RawMessage_(nil) m.Geometry = omit.From(val) @@ -444,14 +448,14 @@ func (m fieldseekerContainerrelateMods) RandomObjectid(f *faker.Faker) Fieldseek } // Set the model columns to this value -func (m fieldseekerContainerrelateMods) Globalid(val null.Val[uuid.UUID]) FieldseekerContainerrelateMod { +func (m fieldseekerContainerrelateMods) Globalid(val uuid.UUID) FieldseekerContainerrelateMod { return FieldseekerContainerrelateModFunc(func(_ context.Context, o *FieldseekerContainerrelateTemplate) { - o.Globalid = func() null.Val[uuid.UUID] { return val } + o.Globalid = func() uuid.UUID { return val } }) } // Set the Column from the function -func (m fieldseekerContainerrelateMods) GlobalidFunc(f func() null.Val[uuid.UUID]) FieldseekerContainerrelateMod { +func (m fieldseekerContainerrelateMods) GlobalidFunc(f func() uuid.UUID) FieldseekerContainerrelateMod { return FieldseekerContainerrelateModFunc(func(_ context.Context, o *FieldseekerContainerrelateTemplate) { o.Globalid = f }) @@ -466,32 +470,10 @@ func (m fieldseekerContainerrelateMods) UnsetGlobalid() FieldseekerContainerrela // Generates a random value for the column using the given faker // if faker is nil, a default faker is used -// The generated value is sometimes null func (m fieldseekerContainerrelateMods) RandomGlobalid(f *faker.Faker) FieldseekerContainerrelateMod { return FieldseekerContainerrelateModFunc(func(_ context.Context, o *FieldseekerContainerrelateTemplate) { - o.Globalid = func() null.Val[uuid.UUID] { - if f == nil { - f = &defaultFaker - } - - val := random_uuid_UUID(f) - return null.From(val) - } - }) -} - -// Generates a random value for the column using the given faker -// if faker is nil, a default faker is used -// The generated value is never null -func (m fieldseekerContainerrelateMods) RandomGlobalidNotNull(f *faker.Faker) FieldseekerContainerrelateMod { - return FieldseekerContainerrelateModFunc(func(_ context.Context, o *FieldseekerContainerrelateTemplate) { - o.Globalid = func() null.Val[uuid.UUID] { - if f == nil { - f = &defaultFaker - } - - val := random_uuid_UUID(f) - return null.From(val) + o.Globalid = func() uuid.UUID { + return random_uuid_UUID(f) } }) } diff --git a/db/factory/fieldseeker.fieldscoutinglog.bob.go b/db/factory/fieldseeker.fieldscoutinglog.bob.go index 6bf3ba50..480121c3 100644 --- a/db/factory/fieldseeker.fieldscoutinglog.bob.go +++ b/db/factory/fieldseeker.fieldscoutinglog.bob.go @@ -1,4 +1,4 @@ -// Code generated by BobGen psql v0.0.4-0.20251216163753-8e325b7c773a+dirty. DO NOT EDIT. +// Code generated by BobGen psql v0.0.4-0.20260105020634-53e08d840e47+dirty. DO NOT EDIT. // This file is meant to be re-generated in place and/or deleted at any time. package factory @@ -42,7 +42,7 @@ func (mods FieldseekerFieldscoutinglogModSlice) Apply(ctx context.Context, n *Fi type FieldseekerFieldscoutinglogTemplate struct { Objectid func() int64 Status func() null.Val[int16] - Globalid func() null.Val[uuid.UUID] + Globalid func() uuid.UUID CreatedUser func() null.Val[string] CreatedDate func() null.Val[time.Time] LastEditedUser func() null.Val[string] @@ -103,7 +103,7 @@ func (o FieldseekerFieldscoutinglogTemplate) BuildSetter() *models.FieldseekerFi } if o.Globalid != nil { val := o.Globalid() - m.Globalid = omitnull.FromNull(val) + m.Globalid = omit.From(val) } if o.CreatedUser != nil { val := o.CreatedUser() @@ -240,6 +240,10 @@ func (o FieldseekerFieldscoutinglogTemplate) BuildMany(number int) models.Fields } func ensureCreatableFieldseekerFieldscoutinglog(m *models.FieldseekerFieldscoutinglogSetter) { + if !(m.Globalid.IsValue()) { + val := random_uuid_UUID(nil) + m.Globalid = omit.From(val) + } if !(m.Geometry.IsValue()) { val := random_types_JSON_json_RawMessage_(nil) m.Geometry = omit.From(val) @@ -470,14 +474,14 @@ func (m fieldseekerFieldscoutinglogMods) RandomStatusNotNull(f *faker.Faker) Fie } // Set the model columns to this value -func (m fieldseekerFieldscoutinglogMods) Globalid(val null.Val[uuid.UUID]) FieldseekerFieldscoutinglogMod { +func (m fieldseekerFieldscoutinglogMods) Globalid(val uuid.UUID) FieldseekerFieldscoutinglogMod { return FieldseekerFieldscoutinglogModFunc(func(_ context.Context, o *FieldseekerFieldscoutinglogTemplate) { - o.Globalid = func() null.Val[uuid.UUID] { return val } + o.Globalid = func() uuid.UUID { return val } }) } // Set the Column from the function -func (m fieldseekerFieldscoutinglogMods) GlobalidFunc(f func() null.Val[uuid.UUID]) FieldseekerFieldscoutinglogMod { +func (m fieldseekerFieldscoutinglogMods) GlobalidFunc(f func() uuid.UUID) FieldseekerFieldscoutinglogMod { return FieldseekerFieldscoutinglogModFunc(func(_ context.Context, o *FieldseekerFieldscoutinglogTemplate) { o.Globalid = f }) @@ -492,32 +496,10 @@ func (m fieldseekerFieldscoutinglogMods) UnsetGlobalid() FieldseekerFieldscoutin // Generates a random value for the column using the given faker // if faker is nil, a default faker is used -// The generated value is sometimes null func (m fieldseekerFieldscoutinglogMods) RandomGlobalid(f *faker.Faker) FieldseekerFieldscoutinglogMod { return FieldseekerFieldscoutinglogModFunc(func(_ context.Context, o *FieldseekerFieldscoutinglogTemplate) { - o.Globalid = func() null.Val[uuid.UUID] { - if f == nil { - f = &defaultFaker - } - - val := random_uuid_UUID(f) - return null.From(val) - } - }) -} - -// Generates a random value for the column using the given faker -// if faker is nil, a default faker is used -// The generated value is never null -func (m fieldseekerFieldscoutinglogMods) RandomGlobalidNotNull(f *faker.Faker) FieldseekerFieldscoutinglogMod { - return FieldseekerFieldscoutinglogModFunc(func(_ context.Context, o *FieldseekerFieldscoutinglogTemplate) { - o.Globalid = func() null.Val[uuid.UUID] { - if f == nil { - f = &defaultFaker - } - - val := random_uuid_UUID(f) - return null.From(val) + o.Globalid = func() uuid.UUID { + return random_uuid_UUID(f) } }) } diff --git a/db/factory/fieldseeker.habitatrelate.bob.go b/db/factory/fieldseeker.habitatrelate.bob.go index cc945ce0..afac1c4e 100644 --- a/db/factory/fieldseeker.habitatrelate.bob.go +++ b/db/factory/fieldseeker.habitatrelate.bob.go @@ -1,4 +1,4 @@ -// Code generated by BobGen psql v0.0.4-0.20251216163753-8e325b7c773a+dirty. DO NOT EDIT. +// Code generated by BobGen psql v0.0.4-0.20260105020634-53e08d840e47+dirty. DO NOT EDIT. // This file is meant to be re-generated in place and/or deleted at any time. package factory @@ -42,7 +42,7 @@ func (mods FieldseekerHabitatrelateModSlice) Apply(ctx context.Context, n *Field type FieldseekerHabitatrelateTemplate struct { Objectid func() int64 ForeignID func() null.Val[uuid.UUID] - Globalid func() null.Val[uuid.UUID] + Globalid func() uuid.UUID CreatedUser func() null.Val[string] CreatedDate func() null.Val[time.Time] LastEditedUser func() null.Val[string] @@ -104,7 +104,7 @@ func (o FieldseekerHabitatrelateTemplate) BuildSetter() *models.FieldseekerHabit } if o.Globalid != nil { val := o.Globalid() - m.Globalid = omitnull.FromNull(val) + m.Globalid = omit.From(val) } if o.CreatedUser != nil { val := o.CreatedUser() @@ -248,6 +248,10 @@ func (o FieldseekerHabitatrelateTemplate) BuildMany(number int) models.Fieldseek } func ensureCreatableFieldseekerHabitatrelate(m *models.FieldseekerHabitatrelateSetter) { + if !(m.Globalid.IsValue()) { + val := random_uuid_UUID(nil) + m.Globalid = omit.From(val) + } if !(m.Geometry.IsValue()) { val := random_types_JSON_json_RawMessage_(nil) m.Geometry = omit.From(val) @@ -479,14 +483,14 @@ func (m fieldseekerHabitatrelateMods) RandomForeignIDNotNull(f *faker.Faker) Fie } // Set the model columns to this value -func (m fieldseekerHabitatrelateMods) Globalid(val null.Val[uuid.UUID]) FieldseekerHabitatrelateMod { +func (m fieldseekerHabitatrelateMods) Globalid(val uuid.UUID) FieldseekerHabitatrelateMod { return FieldseekerHabitatrelateModFunc(func(_ context.Context, o *FieldseekerHabitatrelateTemplate) { - o.Globalid = func() null.Val[uuid.UUID] { return val } + o.Globalid = func() uuid.UUID { return val } }) } // Set the Column from the function -func (m fieldseekerHabitatrelateMods) GlobalidFunc(f func() null.Val[uuid.UUID]) FieldseekerHabitatrelateMod { +func (m fieldseekerHabitatrelateMods) GlobalidFunc(f func() uuid.UUID) FieldseekerHabitatrelateMod { return FieldseekerHabitatrelateModFunc(func(_ context.Context, o *FieldseekerHabitatrelateTemplate) { o.Globalid = f }) @@ -501,32 +505,10 @@ func (m fieldseekerHabitatrelateMods) UnsetGlobalid() FieldseekerHabitatrelateMo // Generates a random value for the column using the given faker // if faker is nil, a default faker is used -// The generated value is sometimes null func (m fieldseekerHabitatrelateMods) RandomGlobalid(f *faker.Faker) FieldseekerHabitatrelateMod { return FieldseekerHabitatrelateModFunc(func(_ context.Context, o *FieldseekerHabitatrelateTemplate) { - o.Globalid = func() null.Val[uuid.UUID] { - if f == nil { - f = &defaultFaker - } - - val := random_uuid_UUID(f) - return null.From(val) - } - }) -} - -// Generates a random value for the column using the given faker -// if faker is nil, a default faker is used -// The generated value is never null -func (m fieldseekerHabitatrelateMods) RandomGlobalidNotNull(f *faker.Faker) FieldseekerHabitatrelateMod { - return FieldseekerHabitatrelateModFunc(func(_ context.Context, o *FieldseekerHabitatrelateTemplate) { - o.Globalid = func() null.Val[uuid.UUID] { - if f == nil { - f = &defaultFaker - } - - val := random_uuid_UUID(f) - return null.From(val) + o.Globalid = func() uuid.UUID { + return random_uuid_UUID(f) } }) } diff --git a/db/factory/fieldseeker.inspectionsample.bob.go b/db/factory/fieldseeker.inspectionsample.bob.go index 8830b4b2..2007ec6b 100644 --- a/db/factory/fieldseeker.inspectionsample.bob.go +++ b/db/factory/fieldseeker.inspectionsample.bob.go @@ -1,4 +1,4 @@ -// Code generated by BobGen psql v0.0.4-0.20251216163753-8e325b7c773a+dirty. DO NOT EDIT. +// Code generated by BobGen psql v0.0.4-0.20260105020634-53e08d840e47+dirty. DO NOT EDIT. // This file is meant to be re-generated in place and/or deleted at any time. package factory @@ -45,7 +45,7 @@ type FieldseekerInspectionsampleTemplate struct { Sampleid func() null.Val[string] Processed func() null.Val[int16] Idbytech func() null.Val[string] - Globalid func() null.Val[uuid.UUID] + Globalid func() uuid.UUID CreatedUser func() null.Val[string] CreatedDate func() null.Val[time.Time] LastEditedUser func() null.Val[string] @@ -118,7 +118,7 @@ func (o FieldseekerInspectionsampleTemplate) BuildSetter() *models.FieldseekerIn } if o.Globalid != nil { val := o.Globalid() - m.Globalid = omitnull.FromNull(val) + m.Globalid = omit.From(val) } if o.CreatedUser != nil { val := o.CreatedUser() @@ -264,6 +264,10 @@ func (o FieldseekerInspectionsampleTemplate) BuildMany(number int) models.Fields } func ensureCreatableFieldseekerInspectionsample(m *models.FieldseekerInspectionsampleSetter) { + if !(m.Globalid.IsValue()) { + val := random_uuid_UUID(nil) + m.Globalid = omit.From(val) + } if !(m.Geometry.IsValue()) { val := random_types_JSON_json_RawMessage_(nil) m.Geometry = omit.From(val) @@ -656,14 +660,14 @@ func (m fieldseekerInspectionsampleMods) RandomIdbytechNotNull(f *faker.Faker) F } // Set the model columns to this value -func (m fieldseekerInspectionsampleMods) Globalid(val null.Val[uuid.UUID]) FieldseekerInspectionsampleMod { +func (m fieldseekerInspectionsampleMods) Globalid(val uuid.UUID) FieldseekerInspectionsampleMod { return FieldseekerInspectionsampleModFunc(func(_ context.Context, o *FieldseekerInspectionsampleTemplate) { - o.Globalid = func() null.Val[uuid.UUID] { return val } + o.Globalid = func() uuid.UUID { return val } }) } // Set the Column from the function -func (m fieldseekerInspectionsampleMods) GlobalidFunc(f func() null.Val[uuid.UUID]) FieldseekerInspectionsampleMod { +func (m fieldseekerInspectionsampleMods) GlobalidFunc(f func() uuid.UUID) FieldseekerInspectionsampleMod { return FieldseekerInspectionsampleModFunc(func(_ context.Context, o *FieldseekerInspectionsampleTemplate) { o.Globalid = f }) @@ -678,32 +682,10 @@ func (m fieldseekerInspectionsampleMods) UnsetGlobalid() FieldseekerInspectionsa // Generates a random value for the column using the given faker // if faker is nil, a default faker is used -// The generated value is sometimes null func (m fieldseekerInspectionsampleMods) RandomGlobalid(f *faker.Faker) FieldseekerInspectionsampleMod { return FieldseekerInspectionsampleModFunc(func(_ context.Context, o *FieldseekerInspectionsampleTemplate) { - o.Globalid = func() null.Val[uuid.UUID] { - if f == nil { - f = &defaultFaker - } - - val := random_uuid_UUID(f) - return null.From(val) - } - }) -} - -// Generates a random value for the column using the given faker -// if faker is nil, a default faker is used -// The generated value is never null -func (m fieldseekerInspectionsampleMods) RandomGlobalidNotNull(f *faker.Faker) FieldseekerInspectionsampleMod { - return FieldseekerInspectionsampleModFunc(func(_ context.Context, o *FieldseekerInspectionsampleTemplate) { - o.Globalid = func() null.Val[uuid.UUID] { - if f == nil { - f = &defaultFaker - } - - val := random_uuid_UUID(f) - return null.From(val) + o.Globalid = func() uuid.UUID { + return random_uuid_UUID(f) } }) } diff --git a/db/factory/fieldseeker.inspectionsampledetail.bob.go b/db/factory/fieldseeker.inspectionsampledetail.bob.go index cffc0a17..14285c91 100644 --- a/db/factory/fieldseeker.inspectionsampledetail.bob.go +++ b/db/factory/fieldseeker.inspectionsampledetail.bob.go @@ -1,4 +1,4 @@ -// Code generated by BobGen psql v0.0.4-0.20251216163753-8e325b7c773a+dirty. DO NOT EDIT. +// Code generated by BobGen psql v0.0.4-0.20260105020634-53e08d840e47+dirty. DO NOT EDIT. // This file is meant to be re-generated in place and/or deleted at any time. package factory @@ -55,7 +55,7 @@ type FieldseekerInspectionsampledetailTemplate struct { Leggcount func() null.Val[int16] Ldomstage func() null.Val[string] Comments func() null.Val[string] - Globalid func() null.Val[uuid.UUID] + Globalid func() uuid.UUID CreatedUser func() null.Val[string] CreatedDate func() null.Val[time.Time] LastEditedUser func() null.Val[string] @@ -169,7 +169,7 @@ func (o FieldseekerInspectionsampledetailTemplate) BuildSetter() *models.Fieldse } if o.Globalid != nil { val := o.Globalid() - m.Globalid = omitnull.FromNull(val) + m.Globalid = omit.From(val) } if o.CreatedUser != nil { val := o.CreatedUser() @@ -352,6 +352,10 @@ func (o FieldseekerInspectionsampledetailTemplate) BuildMany(number int) models. } func ensureCreatableFieldseekerInspectionsampledetail(m *models.FieldseekerInspectionsampledetailSetter) { + if !(m.Globalid.IsValue()) { + val := random_uuid_UUID(nil) + m.Globalid = omit.From(val) + } if !(m.Geometry.IsValue()) { val := random_types_JSON_json_RawMessage_(nil) m.Geometry = omit.From(val) @@ -1285,14 +1289,14 @@ func (m fieldseekerInspectionsampledetailMods) RandomCommentsNotNull(f *faker.Fa } // Set the model columns to this value -func (m fieldseekerInspectionsampledetailMods) Globalid(val null.Val[uuid.UUID]) FieldseekerInspectionsampledetailMod { +func (m fieldseekerInspectionsampledetailMods) Globalid(val uuid.UUID) FieldseekerInspectionsampledetailMod { return FieldseekerInspectionsampledetailModFunc(func(_ context.Context, o *FieldseekerInspectionsampledetailTemplate) { - o.Globalid = func() null.Val[uuid.UUID] { return val } + o.Globalid = func() uuid.UUID { return val } }) } // Set the Column from the function -func (m fieldseekerInspectionsampledetailMods) GlobalidFunc(f func() null.Val[uuid.UUID]) FieldseekerInspectionsampledetailMod { +func (m fieldseekerInspectionsampledetailMods) GlobalidFunc(f func() uuid.UUID) FieldseekerInspectionsampledetailMod { return FieldseekerInspectionsampledetailModFunc(func(_ context.Context, o *FieldseekerInspectionsampledetailTemplate) { o.Globalid = f }) @@ -1307,32 +1311,10 @@ func (m fieldseekerInspectionsampledetailMods) UnsetGlobalid() FieldseekerInspec // Generates a random value for the column using the given faker // if faker is nil, a default faker is used -// The generated value is sometimes null func (m fieldseekerInspectionsampledetailMods) RandomGlobalid(f *faker.Faker) FieldseekerInspectionsampledetailMod { return FieldseekerInspectionsampledetailModFunc(func(_ context.Context, o *FieldseekerInspectionsampledetailTemplate) { - o.Globalid = func() null.Val[uuid.UUID] { - if f == nil { - f = &defaultFaker - } - - val := random_uuid_UUID(f) - return null.From(val) - } - }) -} - -// Generates a random value for the column using the given faker -// if faker is nil, a default faker is used -// The generated value is never null -func (m fieldseekerInspectionsampledetailMods) RandomGlobalidNotNull(f *faker.Faker) FieldseekerInspectionsampledetailMod { - return FieldseekerInspectionsampledetailModFunc(func(_ context.Context, o *FieldseekerInspectionsampledetailTemplate) { - o.Globalid = func() null.Val[uuid.UUID] { - if f == nil { - f = &defaultFaker - } - - val := random_uuid_UUID(f) - return null.From(val) + o.Globalid = func() uuid.UUID { + return random_uuid_UUID(f) } }) } diff --git a/db/factory/fieldseeker.linelocation.bob.go b/db/factory/fieldseeker.linelocation.bob.go index 2107b869..891f7187 100644 --- a/db/factory/fieldseeker.linelocation.bob.go +++ b/db/factory/fieldseeker.linelocation.bob.go @@ -1,4 +1,4 @@ -// Code generated by BobGen psql v0.0.4-0.20251216163753-8e325b7c773a+dirty. DO NOT EDIT. +// Code generated by BobGen psql v0.0.4-0.20260105020634-53e08d840e47+dirty. DO NOT EDIT. // This file is meant to be re-generated in place and/or deleted at any time. package factory @@ -59,7 +59,7 @@ type FieldseekerLinelocationTemplate struct { WidthFT func() null.Val[float64] Zone2 func() null.Val[string] Locationnumber func() null.Val[int32] - Globalid func() null.Val[uuid.UUID] + Globalid func() uuid.UUID CreatedUser func() null.Val[string] CreatedDate func() null.Val[time.Time] LastEditedUser func() null.Val[string] @@ -208,7 +208,7 @@ func (o FieldseekerLinelocationTemplate) BuildSetter() *models.FieldseekerLinelo } if o.Globalid != nil { val := o.Globalid() - m.Globalid = omitnull.FromNull(val) + m.Globalid = omit.From(val) } if o.CreatedUser != nil { val := o.CreatedUser() @@ -536,6 +536,10 @@ func (o FieldseekerLinelocationTemplate) BuildMany(number int) models.Fieldseeke } func ensureCreatableFieldseekerLinelocation(m *models.FieldseekerLinelocationSetter) { + if !(m.Globalid.IsValue()) { + val := random_uuid_UUID(nil) + m.Globalid = omit.From(val) + } if !(m.Geometry.IsValue()) { val := random_types_JSON_json_RawMessage_(nil) m.Geometry = omit.From(val) @@ -1704,14 +1708,14 @@ func (m fieldseekerLinelocationMods) RandomLocationnumberNotNull(f *faker.Faker) } // Set the model columns to this value -func (m fieldseekerLinelocationMods) Globalid(val null.Val[uuid.UUID]) FieldseekerLinelocationMod { +func (m fieldseekerLinelocationMods) Globalid(val uuid.UUID) FieldseekerLinelocationMod { return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) { - o.Globalid = func() null.Val[uuid.UUID] { return val } + o.Globalid = func() uuid.UUID { return val } }) } // Set the Column from the function -func (m fieldseekerLinelocationMods) GlobalidFunc(f func() null.Val[uuid.UUID]) FieldseekerLinelocationMod { +func (m fieldseekerLinelocationMods) GlobalidFunc(f func() uuid.UUID) FieldseekerLinelocationMod { return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) { o.Globalid = f }) @@ -1726,32 +1730,10 @@ func (m fieldseekerLinelocationMods) UnsetGlobalid() FieldseekerLinelocationMod // Generates a random value for the column using the given faker // if faker is nil, a default faker is used -// The generated value is sometimes null func (m fieldseekerLinelocationMods) RandomGlobalid(f *faker.Faker) FieldseekerLinelocationMod { return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) { - o.Globalid = func() null.Val[uuid.UUID] { - if f == nil { - f = &defaultFaker - } - - val := random_uuid_UUID(f) - return null.From(val) - } - }) -} - -// Generates a random value for the column using the given faker -// if faker is nil, a default faker is used -// The generated value is never null -func (m fieldseekerLinelocationMods) RandomGlobalidNotNull(f *faker.Faker) FieldseekerLinelocationMod { - return FieldseekerLinelocationModFunc(func(_ context.Context, o *FieldseekerLinelocationTemplate) { - o.Globalid = func() null.Val[uuid.UUID] { - if f == nil { - f = &defaultFaker - } - - val := random_uuid_UUID(f) - return null.From(val) + o.Globalid = func() uuid.UUID { + return random_uuid_UUID(f) } }) } diff --git a/db/factory/fieldseeker.locationtracking.bob.go b/db/factory/fieldseeker.locationtracking.bob.go index 7b72041d..e4bbd667 100644 --- a/db/factory/fieldseeker.locationtracking.bob.go +++ b/db/factory/fieldseeker.locationtracking.bob.go @@ -1,4 +1,4 @@ -// Code generated by BobGen psql v0.0.4-0.20251216163753-8e325b7c773a+dirty. DO NOT EDIT. +// Code generated by BobGen psql v0.0.4-0.20260105020634-53e08d840e47+dirty. DO NOT EDIT. // This file is meant to be re-generated in place and/or deleted at any time. package factory @@ -46,7 +46,7 @@ type FieldseekerLocationtrackingTemplate struct { CreatedDate func() null.Val[time.Time] LastEditedUser func() null.Val[string] LastEditedDate func() null.Val[time.Time] - Globalid func() null.Val[uuid.UUID] + Globalid func() uuid.UUID Fieldtech func() null.Val[string] Creationdate func() null.Val[time.Time] Creator func() null.Val[string] @@ -120,7 +120,7 @@ func (o FieldseekerLocationtrackingTemplate) BuildSetter() *models.FieldseekerLo } if o.Globalid != nil { val := o.Globalid() - m.Globalid = omitnull.FromNull(val) + m.Globalid = omit.From(val) } if o.Fieldtech != nil { val := o.Fieldtech() @@ -248,6 +248,10 @@ func (o FieldseekerLocationtrackingTemplate) BuildMany(number int) models.Fields } func ensureCreatableFieldseekerLocationtracking(m *models.FieldseekerLocationtrackingSetter) { + if !(m.Globalid.IsValue()) { + val := random_uuid_UUID(nil) + m.Globalid = omit.From(val) + } if !(m.Geometry.IsValue()) { val := random_types_JSON_json_RawMessage_(nil) m.Geometry = omit.From(val) @@ -691,14 +695,14 @@ func (m fieldseekerLocationtrackingMods) RandomLastEditedDateNotNull(f *faker.Fa } // Set the model columns to this value -func (m fieldseekerLocationtrackingMods) Globalid(val null.Val[uuid.UUID]) FieldseekerLocationtrackingMod { +func (m fieldseekerLocationtrackingMods) Globalid(val uuid.UUID) FieldseekerLocationtrackingMod { return FieldseekerLocationtrackingModFunc(func(_ context.Context, o *FieldseekerLocationtrackingTemplate) { - o.Globalid = func() null.Val[uuid.UUID] { return val } + o.Globalid = func() uuid.UUID { return val } }) } // Set the Column from the function -func (m fieldseekerLocationtrackingMods) GlobalidFunc(f func() null.Val[uuid.UUID]) FieldseekerLocationtrackingMod { +func (m fieldseekerLocationtrackingMods) GlobalidFunc(f func() uuid.UUID) FieldseekerLocationtrackingMod { return FieldseekerLocationtrackingModFunc(func(_ context.Context, o *FieldseekerLocationtrackingTemplate) { o.Globalid = f }) @@ -713,32 +717,10 @@ func (m fieldseekerLocationtrackingMods) UnsetGlobalid() FieldseekerLocationtrac // Generates a random value for the column using the given faker // if faker is nil, a default faker is used -// The generated value is sometimes null func (m fieldseekerLocationtrackingMods) RandomGlobalid(f *faker.Faker) FieldseekerLocationtrackingMod { return FieldseekerLocationtrackingModFunc(func(_ context.Context, o *FieldseekerLocationtrackingTemplate) { - o.Globalid = func() null.Val[uuid.UUID] { - if f == nil { - f = &defaultFaker - } - - val := random_uuid_UUID(f) - return null.From(val) - } - }) -} - -// Generates a random value for the column using the given faker -// if faker is nil, a default faker is used -// The generated value is never null -func (m fieldseekerLocationtrackingMods) RandomGlobalidNotNull(f *faker.Faker) FieldseekerLocationtrackingMod { - return FieldseekerLocationtrackingModFunc(func(_ context.Context, o *FieldseekerLocationtrackingTemplate) { - o.Globalid = func() null.Val[uuid.UUID] { - if f == nil { - f = &defaultFaker - } - - val := random_uuid_UUID(f) - return null.From(val) + o.Globalid = func() uuid.UUID { + return random_uuid_UUID(f) } }) } diff --git a/db/factory/fieldseeker.mosquitoinspection.bob.go b/db/factory/fieldseeker.mosquitoinspection.bob.go index e5d9fde5..1d510173 100644 --- a/db/factory/fieldseeker.mosquitoinspection.bob.go +++ b/db/factory/fieldseeker.mosquitoinspection.bob.go @@ -1,4 +1,4 @@ -// Code generated by BobGen psql v0.0.4-0.20251216163753-8e325b7c773a+dirty. DO NOT EDIT. +// Code generated by BobGen psql v0.0.4-0.20260105020634-53e08d840e47+dirty. DO NOT EDIT. // This file is meant to be re-generated in place and/or deleted at any time. package factory @@ -73,7 +73,7 @@ type FieldseekerMosquitoinspectionTemplate struct { Cbcount func() null.Val[int16] Containercount func() null.Val[int16] Fieldspecies func() null.Val[string] - Globalid func() null.Val[uuid.UUID] + Globalid func() uuid.UUID CreatedUser func() null.Val[string] CreatedDate func() null.Val[time.Time] LastEditedUser func() null.Val[string] @@ -273,7 +273,7 @@ func (o FieldseekerMosquitoinspectionTemplate) BuildSetter() *models.Fieldseeker } if o.Globalid != nil { val := o.Globalid() - m.Globalid = omitnull.FromNull(val) + m.Globalid = omit.From(val) } if o.CreatedUser != nil { val := o.CreatedUser() @@ -608,6 +608,10 @@ func (o FieldseekerMosquitoinspectionTemplate) BuildMany(number int) models.Fiel } func ensureCreatableFieldseekerMosquitoinspection(m *models.FieldseekerMosquitoinspectionSetter) { + if !(m.Globalid.IsValue()) { + val := random_uuid_UUID(nil) + m.Globalid = omit.From(val) + } if !(m.Geometry.IsValue()) { val := random_types_JSON_json_RawMessage_(nil) m.Geometry = omit.From(val) @@ -2527,14 +2531,14 @@ func (m fieldseekerMosquitoinspectionMods) RandomFieldspeciesNotNull(f *faker.Fa } // Set the model columns to this value -func (m fieldseekerMosquitoinspectionMods) Globalid(val null.Val[uuid.UUID]) FieldseekerMosquitoinspectionMod { +func (m fieldseekerMosquitoinspectionMods) Globalid(val uuid.UUID) FieldseekerMosquitoinspectionMod { return FieldseekerMosquitoinspectionModFunc(func(_ context.Context, o *FieldseekerMosquitoinspectionTemplate) { - o.Globalid = func() null.Val[uuid.UUID] { return val } + o.Globalid = func() uuid.UUID { return val } }) } // Set the Column from the function -func (m fieldseekerMosquitoinspectionMods) GlobalidFunc(f func() null.Val[uuid.UUID]) FieldseekerMosquitoinspectionMod { +func (m fieldseekerMosquitoinspectionMods) GlobalidFunc(f func() uuid.UUID) FieldseekerMosquitoinspectionMod { return FieldseekerMosquitoinspectionModFunc(func(_ context.Context, o *FieldseekerMosquitoinspectionTemplate) { o.Globalid = f }) @@ -2549,32 +2553,10 @@ func (m fieldseekerMosquitoinspectionMods) UnsetGlobalid() FieldseekerMosquitoin // Generates a random value for the column using the given faker // if faker is nil, a default faker is used -// The generated value is sometimes null func (m fieldseekerMosquitoinspectionMods) RandomGlobalid(f *faker.Faker) FieldseekerMosquitoinspectionMod { return FieldseekerMosquitoinspectionModFunc(func(_ context.Context, o *FieldseekerMosquitoinspectionTemplate) { - o.Globalid = func() null.Val[uuid.UUID] { - if f == nil { - f = &defaultFaker - } - - val := random_uuid_UUID(f) - return null.From(val) - } - }) -} - -// Generates a random value for the column using the given faker -// if faker is nil, a default faker is used -// The generated value is never null -func (m fieldseekerMosquitoinspectionMods) RandomGlobalidNotNull(f *faker.Faker) FieldseekerMosquitoinspectionMod { - return FieldseekerMosquitoinspectionModFunc(func(_ context.Context, o *FieldseekerMosquitoinspectionTemplate) { - o.Globalid = func() null.Val[uuid.UUID] { - if f == nil { - f = &defaultFaker - } - - val := random_uuid_UUID(f) - return null.From(val) + o.Globalid = func() uuid.UUID { + return random_uuid_UUID(f) } }) } diff --git a/db/factory/fieldseeker.pointlocation.bob.go b/db/factory/fieldseeker.pointlocation.bob.go index 33261fd0..39f9071b 100644 --- a/db/factory/fieldseeker.pointlocation.bob.go +++ b/db/factory/fieldseeker.pointlocation.bob.go @@ -1,4 +1,4 @@ -// Code generated by BobGen psql v0.0.4-0.20251216163753-8e325b7c773a+dirty. DO NOT EDIT. +// Code generated by BobGen psql v0.0.4-0.20260105020634-53e08d840e47+dirty. DO NOT EDIT. // This file is meant to be re-generated in place and/or deleted at any time. package factory @@ -56,7 +56,7 @@ type FieldseekerPointlocationTemplate struct { Larvinspectinterval func() null.Val[int16] Zone2 func() null.Val[string] Locationnumber func() null.Val[int32] - Globalid func() null.Val[uuid.UUID] + Globalid func() uuid.UUID Stype func() null.Val[string] Lastinspectdate func() null.Val[time.Time] Lastinspectbreeding func() null.Val[string] @@ -192,7 +192,7 @@ func (o FieldseekerPointlocationTemplate) BuildSetter() *models.FieldseekerPoint } if o.Globalid != nil { val := o.Globalid() - m.Globalid = omitnull.FromNull(val) + m.Globalid = omit.From(val) } if o.Stype != nil { val := o.Stype() @@ -504,6 +504,10 @@ func (o FieldseekerPointlocationTemplate) BuildMany(number int) models.Fieldseek } func ensureCreatableFieldseekerPointlocation(m *models.FieldseekerPointlocationSetter) { + if !(m.Globalid.IsValue()) { + val := random_uuid_UUID(nil) + m.Globalid = omit.From(val) + } if !(m.Geometry.IsValue()) { val := random_types_JSON_json_RawMessage_(nil) m.Geometry = omit.From(val) @@ -1509,14 +1513,14 @@ func (m fieldseekerPointlocationMods) RandomLocationnumberNotNull(f *faker.Faker } // Set the model columns to this value -func (m fieldseekerPointlocationMods) Globalid(val null.Val[uuid.UUID]) FieldseekerPointlocationMod { +func (m fieldseekerPointlocationMods) Globalid(val uuid.UUID) FieldseekerPointlocationMod { return FieldseekerPointlocationModFunc(func(_ context.Context, o *FieldseekerPointlocationTemplate) { - o.Globalid = func() null.Val[uuid.UUID] { return val } + o.Globalid = func() uuid.UUID { return val } }) } // Set the Column from the function -func (m fieldseekerPointlocationMods) GlobalidFunc(f func() null.Val[uuid.UUID]) FieldseekerPointlocationMod { +func (m fieldseekerPointlocationMods) GlobalidFunc(f func() uuid.UUID) FieldseekerPointlocationMod { return FieldseekerPointlocationModFunc(func(_ context.Context, o *FieldseekerPointlocationTemplate) { o.Globalid = f }) @@ -1531,32 +1535,10 @@ func (m fieldseekerPointlocationMods) UnsetGlobalid() FieldseekerPointlocationMo // Generates a random value for the column using the given faker // if faker is nil, a default faker is used -// The generated value is sometimes null func (m fieldseekerPointlocationMods) RandomGlobalid(f *faker.Faker) FieldseekerPointlocationMod { return FieldseekerPointlocationModFunc(func(_ context.Context, o *FieldseekerPointlocationTemplate) { - o.Globalid = func() null.Val[uuid.UUID] { - if f == nil { - f = &defaultFaker - } - - val := random_uuid_UUID(f) - return null.From(val) - } - }) -} - -// Generates a random value for the column using the given faker -// if faker is nil, a default faker is used -// The generated value is never null -func (m fieldseekerPointlocationMods) RandomGlobalidNotNull(f *faker.Faker) FieldseekerPointlocationMod { - return FieldseekerPointlocationModFunc(func(_ context.Context, o *FieldseekerPointlocationTemplate) { - o.Globalid = func() null.Val[uuid.UUID] { - if f == nil { - f = &defaultFaker - } - - val := random_uuid_UUID(f) - return null.From(val) + o.Globalid = func() uuid.UUID { + return random_uuid_UUID(f) } }) } diff --git a/db/factory/fieldseeker.polygonlocation.bob.go b/db/factory/fieldseeker.polygonlocation.bob.go index 316d8a9a..dd7e2f95 100644 --- a/db/factory/fieldseeker.polygonlocation.bob.go +++ b/db/factory/fieldseeker.polygonlocation.bob.go @@ -1,4 +1,4 @@ -// Code generated by BobGen psql v0.0.4-0.20251216163753-8e325b7c773a+dirty. DO NOT EDIT. +// Code generated by BobGen psql v0.0.4-0.20260105020634-53e08d840e47+dirty. DO NOT EDIT. // This file is meant to be re-generated in place and/or deleted at any time. package factory @@ -57,7 +57,7 @@ type FieldseekerPolygonlocationTemplate struct { Larvinspectinterval func() null.Val[int16] Zone2 func() null.Val[string] Locationnumber func() null.Val[int32] - Globalid func() null.Val[uuid.UUID] + Globalid func() uuid.UUID Lastinspectdate func() null.Val[time.Time] Lastinspectbreeding func() null.Val[string] Lastinspectavglarvae func() null.Val[float64] @@ -194,7 +194,7 @@ func (o FieldseekerPolygonlocationTemplate) BuildSetter() *models.FieldseekerPol } if o.Globalid != nil { val := o.Globalid() - m.Globalid = omitnull.FromNull(val) + m.Globalid = omit.From(val) } if o.Lastinspectdate != nil { val := o.Lastinspectdate() @@ -488,6 +488,10 @@ func (o FieldseekerPolygonlocationTemplate) BuildMany(number int) models.Fieldse } func ensureCreatableFieldseekerPolygonlocation(m *models.FieldseekerPolygonlocationSetter) { + if !(m.Globalid.IsValue()) { + val := random_uuid_UUID(nil) + m.Globalid = omit.From(val) + } if !(m.Geometry.IsValue()) { val := random_types_JSON_json_RawMessage_(nil) m.Geometry = omit.From(val) @@ -1544,14 +1548,14 @@ func (m fieldseekerPolygonlocationMods) RandomLocationnumberNotNull(f *faker.Fak } // Set the model columns to this value -func (m fieldseekerPolygonlocationMods) Globalid(val null.Val[uuid.UUID]) FieldseekerPolygonlocationMod { +func (m fieldseekerPolygonlocationMods) Globalid(val uuid.UUID) FieldseekerPolygonlocationMod { return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) { - o.Globalid = func() null.Val[uuid.UUID] { return val } + o.Globalid = func() uuid.UUID { return val } }) } // Set the Column from the function -func (m fieldseekerPolygonlocationMods) GlobalidFunc(f func() null.Val[uuid.UUID]) FieldseekerPolygonlocationMod { +func (m fieldseekerPolygonlocationMods) GlobalidFunc(f func() uuid.UUID) FieldseekerPolygonlocationMod { return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) { o.Globalid = f }) @@ -1566,32 +1570,10 @@ func (m fieldseekerPolygonlocationMods) UnsetGlobalid() FieldseekerPolygonlocati // Generates a random value for the column using the given faker // if faker is nil, a default faker is used -// The generated value is sometimes null func (m fieldseekerPolygonlocationMods) RandomGlobalid(f *faker.Faker) FieldseekerPolygonlocationMod { return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) { - o.Globalid = func() null.Val[uuid.UUID] { - if f == nil { - f = &defaultFaker - } - - val := random_uuid_UUID(f) - return null.From(val) - } - }) -} - -// Generates a random value for the column using the given faker -// if faker is nil, a default faker is used -// The generated value is never null -func (m fieldseekerPolygonlocationMods) RandomGlobalidNotNull(f *faker.Faker) FieldseekerPolygonlocationMod { - return FieldseekerPolygonlocationModFunc(func(_ context.Context, o *FieldseekerPolygonlocationTemplate) { - o.Globalid = func() null.Val[uuid.UUID] { - if f == nil { - f = &defaultFaker - } - - val := random_uuid_UUID(f) - return null.From(val) + o.Globalid = func() uuid.UUID { + return random_uuid_UUID(f) } }) } diff --git a/db/factory/fieldseeker.pool.bob.go b/db/factory/fieldseeker.pool.bob.go index 8a94cf05..901a97fb 100644 --- a/db/factory/fieldseeker.pool.bob.go +++ b/db/factory/fieldseeker.pool.bob.go @@ -1,4 +1,4 @@ -// Code generated by BobGen psql v0.0.4-0.20251216163753-8e325b7c773a+dirty. DO NOT EDIT. +// Code generated by BobGen psql v0.0.4-0.20260105020634-53e08d840e47+dirty. DO NOT EDIT. // This file is meant to be re-generated in place and/or deleted at any time. package factory @@ -53,7 +53,7 @@ type FieldseekerPoolTemplate struct { Testmethod func() null.Val[string] Diseasetested func() null.Val[string] Diseasepos func() null.Val[string] - Globalid func() null.Val[uuid.UUID] + Globalid func() uuid.UUID CreatedUser func() null.Val[string] CreatedDate func() null.Val[time.Time] LastEditedUser func() null.Val[string] @@ -164,7 +164,7 @@ func (o FieldseekerPoolTemplate) BuildSetter() *models.FieldseekerPoolSetter { } if o.Globalid != nil { val := o.Globalid() - m.Globalid = omitnull.FromNull(val) + m.Globalid = omit.From(val) } if o.CreatedUser != nil { val := o.CreatedUser() @@ -376,6 +376,10 @@ func (o FieldseekerPoolTemplate) BuildMany(number int) models.FieldseekerPoolSli } func ensureCreatableFieldseekerPool(m *models.FieldseekerPoolSetter) { + if !(m.Globalid.IsValue()) { + val := random_uuid_UUID(nil) + m.Globalid = omit.From(val) + } if !(m.Geometry.IsValue()) { val := random_types_JSON_json_RawMessage_(nil) m.Geometry = omit.From(val) @@ -1206,14 +1210,14 @@ func (m fieldseekerPoolMods) RandomDiseaseposNotNull(f *faker.Faker) Fieldseeker } // Set the model columns to this value -func (m fieldseekerPoolMods) Globalid(val null.Val[uuid.UUID]) FieldseekerPoolMod { +func (m fieldseekerPoolMods) Globalid(val uuid.UUID) FieldseekerPoolMod { return FieldseekerPoolModFunc(func(_ context.Context, o *FieldseekerPoolTemplate) { - o.Globalid = func() null.Val[uuid.UUID] { return val } + o.Globalid = func() uuid.UUID { return val } }) } // Set the Column from the function -func (m fieldseekerPoolMods) GlobalidFunc(f func() null.Val[uuid.UUID]) FieldseekerPoolMod { +func (m fieldseekerPoolMods) GlobalidFunc(f func() uuid.UUID) FieldseekerPoolMod { return FieldseekerPoolModFunc(func(_ context.Context, o *FieldseekerPoolTemplate) { o.Globalid = f }) @@ -1228,32 +1232,10 @@ func (m fieldseekerPoolMods) UnsetGlobalid() FieldseekerPoolMod { // Generates a random value for the column using the given faker // if faker is nil, a default faker is used -// The generated value is sometimes null func (m fieldseekerPoolMods) RandomGlobalid(f *faker.Faker) FieldseekerPoolMod { return FieldseekerPoolModFunc(func(_ context.Context, o *FieldseekerPoolTemplate) { - o.Globalid = func() null.Val[uuid.UUID] { - if f == nil { - f = &defaultFaker - } - - val := random_uuid_UUID(f) - return null.From(val) - } - }) -} - -// Generates a random value for the column using the given faker -// if faker is nil, a default faker is used -// The generated value is never null -func (m fieldseekerPoolMods) RandomGlobalidNotNull(f *faker.Faker) FieldseekerPoolMod { - return FieldseekerPoolModFunc(func(_ context.Context, o *FieldseekerPoolTemplate) { - o.Globalid = func() null.Val[uuid.UUID] { - if f == nil { - f = &defaultFaker - } - - val := random_uuid_UUID(f) - return null.From(val) + o.Globalid = func() uuid.UUID { + return random_uuid_UUID(f) } }) } diff --git a/db/factory/fieldseeker.pooldetail.bob.go b/db/factory/fieldseeker.pooldetail.bob.go index 5e357128..973f5bbc 100644 --- a/db/factory/fieldseeker.pooldetail.bob.go +++ b/db/factory/fieldseeker.pooldetail.bob.go @@ -1,4 +1,4 @@ -// Code generated by BobGen psql v0.0.4-0.20251216163753-8e325b7c773a+dirty. DO NOT EDIT. +// Code generated by BobGen psql v0.0.4-0.20260105020634-53e08d840e47+dirty. DO NOT EDIT. // This file is meant to be re-generated in place and/or deleted at any time. package factory @@ -45,7 +45,7 @@ type FieldseekerPooldetailTemplate struct { PoolID func() null.Val[uuid.UUID] Species func() null.Val[string] Females func() null.Val[int16] - Globalid func() null.Val[uuid.UUID] + Globalid func() uuid.UUID CreatedUser func() null.Val[string] CreatedDate func() null.Val[time.Time] LastEditedUser func() null.Val[string] @@ -118,7 +118,7 @@ func (o FieldseekerPooldetailTemplate) BuildSetter() *models.FieldseekerPooldeta } if o.Globalid != nil { val := o.Globalid() - m.Globalid = omitnull.FromNull(val) + m.Globalid = omit.From(val) } if o.CreatedUser != nil { val := o.CreatedUser() @@ -264,6 +264,10 @@ func (o FieldseekerPooldetailTemplate) BuildMany(number int) models.FieldseekerP } func ensureCreatableFieldseekerPooldetail(m *models.FieldseekerPooldetailSetter) { + if !(m.Globalid.IsValue()) { + val := random_uuid_UUID(nil) + m.Globalid = omit.From(val) + } if !(m.Geometry.IsValue()) { val := random_types_JSON_json_RawMessage_(nil) m.Geometry = omit.From(val) @@ -656,14 +660,14 @@ func (m fieldseekerPooldetailMods) RandomFemalesNotNull(f *faker.Faker) Fieldsee } // Set the model columns to this value -func (m fieldseekerPooldetailMods) Globalid(val null.Val[uuid.UUID]) FieldseekerPooldetailMod { +func (m fieldseekerPooldetailMods) Globalid(val uuid.UUID) FieldseekerPooldetailMod { return FieldseekerPooldetailModFunc(func(_ context.Context, o *FieldseekerPooldetailTemplate) { - o.Globalid = func() null.Val[uuid.UUID] { return val } + o.Globalid = func() uuid.UUID { return val } }) } // Set the Column from the function -func (m fieldseekerPooldetailMods) GlobalidFunc(f func() null.Val[uuid.UUID]) FieldseekerPooldetailMod { +func (m fieldseekerPooldetailMods) GlobalidFunc(f func() uuid.UUID) FieldseekerPooldetailMod { return FieldseekerPooldetailModFunc(func(_ context.Context, o *FieldseekerPooldetailTemplate) { o.Globalid = f }) @@ -678,32 +682,10 @@ func (m fieldseekerPooldetailMods) UnsetGlobalid() FieldseekerPooldetailMod { // Generates a random value for the column using the given faker // if faker is nil, a default faker is used -// The generated value is sometimes null func (m fieldseekerPooldetailMods) RandomGlobalid(f *faker.Faker) FieldseekerPooldetailMod { return FieldseekerPooldetailModFunc(func(_ context.Context, o *FieldseekerPooldetailTemplate) { - o.Globalid = func() null.Val[uuid.UUID] { - if f == nil { - f = &defaultFaker - } - - val := random_uuid_UUID(f) - return null.From(val) - } - }) -} - -// Generates a random value for the column using the given faker -// if faker is nil, a default faker is used -// The generated value is never null -func (m fieldseekerPooldetailMods) RandomGlobalidNotNull(f *faker.Faker) FieldseekerPooldetailMod { - return FieldseekerPooldetailModFunc(func(_ context.Context, o *FieldseekerPooldetailTemplate) { - o.Globalid = func() null.Val[uuid.UUID] { - if f == nil { - f = &defaultFaker - } - - val := random_uuid_UUID(f) - return null.From(val) + o.Globalid = func() uuid.UUID { + return random_uuid_UUID(f) } }) } diff --git a/db/factory/fieldseeker.proposedtreatmentarea.bob.go b/db/factory/fieldseeker.proposedtreatmentarea.bob.go index 655cdcb8..7253b326 100644 --- a/db/factory/fieldseeker.proposedtreatmentarea.bob.go +++ b/db/factory/fieldseeker.proposedtreatmentarea.bob.go @@ -1,4 +1,4 @@ -// Code generated by BobGen psql v0.0.4-0.20251216163753-8e325b7c773a+dirty. DO NOT EDIT. +// Code generated by BobGen psql v0.0.4-0.20260105020634-53e08d840e47+dirty. DO NOT EDIT. // This file is meant to be re-generated in place and/or deleted at any time. package factory @@ -54,7 +54,7 @@ type FieldseekerProposedtreatmentareaTemplate struct { Issprayroute func() null.Val[int16] Name func() null.Val[string] Acres func() null.Val[float64] - Globalid func() null.Val[uuid.UUID] + Globalid func() uuid.UUID Exported func() null.Val[int16] Targetproduct func() null.Val[string] Targetapprate func() null.Val[float64] @@ -173,7 +173,7 @@ func (o FieldseekerProposedtreatmentareaTemplate) BuildSetter() *models.Fieldsee } if o.Globalid != nil { val := o.Globalid() - m.Globalid = omitnull.FromNull(val) + m.Globalid = omit.From(val) } if o.Exported != nil { val := o.Exported() @@ -416,6 +416,10 @@ func (o FieldseekerProposedtreatmentareaTemplate) BuildMany(number int) models.F } func ensureCreatableFieldseekerProposedtreatmentarea(m *models.FieldseekerProposedtreatmentareaSetter) { + if !(m.Globalid.IsValue()) { + val := random_uuid_UUID(nil) + m.Globalid = omit.From(val) + } if !(m.Geometry.IsValue()) { val := random_types_JSON_json_RawMessage_(nil) m.Geometry = omit.From(val) @@ -1304,14 +1308,14 @@ func (m fieldseekerProposedtreatmentareaMods) RandomAcresNotNull(f *faker.Faker) } // Set the model columns to this value -func (m fieldseekerProposedtreatmentareaMods) Globalid(val null.Val[uuid.UUID]) FieldseekerProposedtreatmentareaMod { +func (m fieldseekerProposedtreatmentareaMods) Globalid(val uuid.UUID) FieldseekerProposedtreatmentareaMod { return FieldseekerProposedtreatmentareaModFunc(func(_ context.Context, o *FieldseekerProposedtreatmentareaTemplate) { - o.Globalid = func() null.Val[uuid.UUID] { return val } + o.Globalid = func() uuid.UUID { return val } }) } // Set the Column from the function -func (m fieldseekerProposedtreatmentareaMods) GlobalidFunc(f func() null.Val[uuid.UUID]) FieldseekerProposedtreatmentareaMod { +func (m fieldseekerProposedtreatmentareaMods) GlobalidFunc(f func() uuid.UUID) FieldseekerProposedtreatmentareaMod { return FieldseekerProposedtreatmentareaModFunc(func(_ context.Context, o *FieldseekerProposedtreatmentareaTemplate) { o.Globalid = f }) @@ -1326,32 +1330,10 @@ func (m fieldseekerProposedtreatmentareaMods) UnsetGlobalid() FieldseekerPropose // Generates a random value for the column using the given faker // if faker is nil, a default faker is used -// The generated value is sometimes null func (m fieldseekerProposedtreatmentareaMods) RandomGlobalid(f *faker.Faker) FieldseekerProposedtreatmentareaMod { return FieldseekerProposedtreatmentareaModFunc(func(_ context.Context, o *FieldseekerProposedtreatmentareaTemplate) { - o.Globalid = func() null.Val[uuid.UUID] { - if f == nil { - f = &defaultFaker - } - - val := random_uuid_UUID(f) - return null.From(val) - } - }) -} - -// Generates a random value for the column using the given faker -// if faker is nil, a default faker is used -// The generated value is never null -func (m fieldseekerProposedtreatmentareaMods) RandomGlobalidNotNull(f *faker.Faker) FieldseekerProposedtreatmentareaMod { - return FieldseekerProposedtreatmentareaModFunc(func(_ context.Context, o *FieldseekerProposedtreatmentareaTemplate) { - o.Globalid = func() null.Val[uuid.UUID] { - if f == nil { - f = &defaultFaker - } - - val := random_uuid_UUID(f) - return null.From(val) + o.Globalid = func() uuid.UUID { + return random_uuid_UUID(f) } }) } diff --git a/db/factory/fieldseeker.qamosquitoinspection.bob.go b/db/factory/fieldseeker.qamosquitoinspection.bob.go index 7bce9279..594e8ec3 100644 --- a/db/factory/fieldseeker.qamosquitoinspection.bob.go +++ b/db/factory/fieldseeker.qamosquitoinspection.bob.go @@ -1,4 +1,4 @@ -// Code generated by BobGen psql v0.0.4-0.20251216163753-8e325b7c773a+dirty. DO NOT EDIT. +// Code generated by BobGen psql v0.0.4-0.20260105020634-53e08d840e47+dirty. DO NOT EDIT. // This file is meant to be re-generated in place and/or deleted at any time. package factory @@ -47,7 +47,7 @@ type FieldseekerQamosquitoinspectionTemplate struct { Avetemp func() null.Val[float64] Windspeed func() null.Val[float64] Raingauge func() null.Val[float64] - Globalid func() null.Val[uuid.UUID] + Globalid func() uuid.UUID Startdatetime func() null.Val[time.Time] Enddatetime func() null.Val[time.Time] Winddir func() null.Val[string] @@ -174,7 +174,7 @@ func (o FieldseekerQamosquitoinspectionTemplate) BuildSetter() *models.Fieldseek } if o.Globalid != nil { val := o.Globalid() - m.Globalid = omitnull.FromNull(val) + m.Globalid = omit.From(val) } if o.Startdatetime != nil { val := o.Startdatetime() @@ -648,6 +648,10 @@ func (o FieldseekerQamosquitoinspectionTemplate) BuildMany(number int) models.Fi } func ensureCreatableFieldseekerQamosquitoinspection(m *models.FieldseekerQamosquitoinspectionSetter) { + if !(m.Globalid.IsValue()) { + val := random_uuid_UUID(nil) + m.Globalid = omit.From(val) + } if !(m.Geometry.IsValue()) { val := random_types_JSON_json_RawMessage_(nil) m.Geometry = omit.From(val) @@ -1194,14 +1198,14 @@ func (m fieldseekerQamosquitoinspectionMods) RandomRaingaugeNotNull(f *faker.Fak } // Set the model columns to this value -func (m fieldseekerQamosquitoinspectionMods) Globalid(val null.Val[uuid.UUID]) FieldseekerQamosquitoinspectionMod { +func (m fieldseekerQamosquitoinspectionMods) Globalid(val uuid.UUID) FieldseekerQamosquitoinspectionMod { return FieldseekerQamosquitoinspectionModFunc(func(_ context.Context, o *FieldseekerQamosquitoinspectionTemplate) { - o.Globalid = func() null.Val[uuid.UUID] { return val } + o.Globalid = func() uuid.UUID { return val } }) } // Set the Column from the function -func (m fieldseekerQamosquitoinspectionMods) GlobalidFunc(f func() null.Val[uuid.UUID]) FieldseekerQamosquitoinspectionMod { +func (m fieldseekerQamosquitoinspectionMods) GlobalidFunc(f func() uuid.UUID) FieldseekerQamosquitoinspectionMod { return FieldseekerQamosquitoinspectionModFunc(func(_ context.Context, o *FieldseekerQamosquitoinspectionTemplate) { o.Globalid = f }) @@ -1216,32 +1220,10 @@ func (m fieldseekerQamosquitoinspectionMods) UnsetGlobalid() FieldseekerQamosqui // Generates a random value for the column using the given faker // if faker is nil, a default faker is used -// The generated value is sometimes null func (m fieldseekerQamosquitoinspectionMods) RandomGlobalid(f *faker.Faker) FieldseekerQamosquitoinspectionMod { return FieldseekerQamosquitoinspectionModFunc(func(_ context.Context, o *FieldseekerQamosquitoinspectionTemplate) { - o.Globalid = func() null.Val[uuid.UUID] { - if f == nil { - f = &defaultFaker - } - - val := random_uuid_UUID(f) - return null.From(val) - } - }) -} - -// Generates a random value for the column using the given faker -// if faker is nil, a default faker is used -// The generated value is never null -func (m fieldseekerQamosquitoinspectionMods) RandomGlobalidNotNull(f *faker.Faker) FieldseekerQamosquitoinspectionMod { - return FieldseekerQamosquitoinspectionModFunc(func(_ context.Context, o *FieldseekerQamosquitoinspectionTemplate) { - o.Globalid = func() null.Val[uuid.UUID] { - if f == nil { - f = &defaultFaker - } - - val := random_uuid_UUID(f) - return null.From(val) + o.Globalid = func() uuid.UUID { + return random_uuid_UUID(f) } }) } diff --git a/db/factory/fieldseeker.rodentlocation.bob.go b/db/factory/fieldseeker.rodentlocation.bob.go index adad0c6f..6488c200 100644 --- a/db/factory/fieldseeker.rodentlocation.bob.go +++ b/db/factory/fieldseeker.rodentlocation.bob.go @@ -1,4 +1,4 @@ -// Code generated by BobGen psql v0.0.4-0.20251216163753-8e325b7c773a+dirty. DO NOT EDIT. +// Code generated by BobGen psql v0.0.4-0.20260105020634-53e08d840e47+dirty. DO NOT EDIT. // This file is meant to be re-generated in place and/or deleted at any time. package factory @@ -60,7 +60,7 @@ type FieldseekerRodentlocationTemplate struct { Lastinspectaction func() null.Val[string] Lastinspectconditions func() null.Val[string] Lastinspectrodentevidence func() null.Val[string] - Globalid func() null.Val[uuid.UUID] + Globalid func() uuid.UUID CreatedUser func() null.Val[string] CreatedDate func() null.Val[time.Time] LastEditedUser func() null.Val[string] @@ -194,7 +194,7 @@ func (o FieldseekerRodentlocationTemplate) BuildSetter() *models.FieldseekerRode } if o.Globalid != nil { val := o.Globalid() - m.Globalid = omitnull.FromNull(val) + m.Globalid = omit.From(val) } if o.CreatedUser != nil { val := o.CreatedUser() @@ -392,6 +392,10 @@ func (o FieldseekerRodentlocationTemplate) BuildMany(number int) models.Fieldsee } func ensureCreatableFieldseekerRodentlocation(m *models.FieldseekerRodentlocationSetter) { + if !(m.Globalid.IsValue()) { + val := random_uuid_UUID(nil) + m.Globalid = omit.From(val) + } if !(m.Geometry.IsValue()) { val := random_types_JSON_json_RawMessage_(nil) m.Geometry = omit.From(val) @@ -1595,14 +1599,14 @@ func (m fieldseekerRodentlocationMods) RandomLastinspectrodentevidenceNotNull(f } // Set the model columns to this value -func (m fieldseekerRodentlocationMods) Globalid(val null.Val[uuid.UUID]) FieldseekerRodentlocationMod { +func (m fieldseekerRodentlocationMods) Globalid(val uuid.UUID) FieldseekerRodentlocationMod { return FieldseekerRodentlocationModFunc(func(_ context.Context, o *FieldseekerRodentlocationTemplate) { - o.Globalid = func() null.Val[uuid.UUID] { return val } + o.Globalid = func() uuid.UUID { return val } }) } // Set the Column from the function -func (m fieldseekerRodentlocationMods) GlobalidFunc(f func() null.Val[uuid.UUID]) FieldseekerRodentlocationMod { +func (m fieldseekerRodentlocationMods) GlobalidFunc(f func() uuid.UUID) FieldseekerRodentlocationMod { return FieldseekerRodentlocationModFunc(func(_ context.Context, o *FieldseekerRodentlocationTemplate) { o.Globalid = f }) @@ -1617,32 +1621,10 @@ func (m fieldseekerRodentlocationMods) UnsetGlobalid() FieldseekerRodentlocation // Generates a random value for the column using the given faker // if faker is nil, a default faker is used -// The generated value is sometimes null func (m fieldseekerRodentlocationMods) RandomGlobalid(f *faker.Faker) FieldseekerRodentlocationMod { return FieldseekerRodentlocationModFunc(func(_ context.Context, o *FieldseekerRodentlocationTemplate) { - o.Globalid = func() null.Val[uuid.UUID] { - if f == nil { - f = &defaultFaker - } - - val := random_uuid_UUID(f) - return null.From(val) - } - }) -} - -// Generates a random value for the column using the given faker -// if faker is nil, a default faker is used -// The generated value is never null -func (m fieldseekerRodentlocationMods) RandomGlobalidNotNull(f *faker.Faker) FieldseekerRodentlocationMod { - return FieldseekerRodentlocationModFunc(func(_ context.Context, o *FieldseekerRodentlocationTemplate) { - o.Globalid = func() null.Val[uuid.UUID] { - if f == nil { - f = &defaultFaker - } - - val := random_uuid_UUID(f) - return null.From(val) + o.Globalid = func() uuid.UUID { + return random_uuid_UUID(f) } }) } diff --git a/db/factory/fieldseeker.samplecollection.bob.go b/db/factory/fieldseeker.samplecollection.bob.go index 726c84c9..3bcc4547 100644 --- a/db/factory/fieldseeker.samplecollection.bob.go +++ b/db/factory/fieldseeker.samplecollection.bob.go @@ -1,4 +1,4 @@ -// Code generated by BobGen psql v0.0.4-0.20251216163753-8e325b7c773a+dirty. DO NOT EDIT. +// Code generated by BobGen psql v0.0.4-0.20260105020634-53e08d840e47+dirty. DO NOT EDIT. // This file is meant to be re-generated in place and/or deleted at any time. package factory @@ -71,7 +71,7 @@ type FieldseekerSamplecollectionTemplate struct { Zone func() null.Val[string] Recordstatus func() null.Val[int16] Zone2 func() null.Val[string] - Globalid func() null.Val[uuid.UUID] + Globalid func() uuid.UUID CreatedUser func() null.Val[string] CreatedDate func() null.Val[time.Time] LastEditedUser func() null.Val[string] @@ -254,7 +254,7 @@ func (o FieldseekerSamplecollectionTemplate) BuildSetter() *models.FieldseekerSa } if o.Globalid != nil { val := o.Globalid() - m.Globalid = omitnull.FromNull(val) + m.Globalid = omit.From(val) } if o.CreatedUser != nil { val := o.CreatedUser() @@ -520,6 +520,10 @@ func (o FieldseekerSamplecollectionTemplate) BuildMany(number int) models.Fields } func ensureCreatableFieldseekerSamplecollection(m *models.FieldseekerSamplecollectionSetter) { + if !(m.Globalid.IsValue()) { + val := random_uuid_UUID(nil) + m.Globalid = omit.From(val) + } if !(m.Geometry.IsValue()) { val := random_types_JSON_json_RawMessage_(nil) m.Geometry = omit.From(val) @@ -2322,14 +2326,14 @@ func (m fieldseekerSamplecollectionMods) RandomZone2NotNull(f *faker.Faker) Fiel } // Set the model columns to this value -func (m fieldseekerSamplecollectionMods) Globalid(val null.Val[uuid.UUID]) FieldseekerSamplecollectionMod { +func (m fieldseekerSamplecollectionMods) Globalid(val uuid.UUID) FieldseekerSamplecollectionMod { return FieldseekerSamplecollectionModFunc(func(_ context.Context, o *FieldseekerSamplecollectionTemplate) { - o.Globalid = func() null.Val[uuid.UUID] { return val } + o.Globalid = func() uuid.UUID { return val } }) } // Set the Column from the function -func (m fieldseekerSamplecollectionMods) GlobalidFunc(f func() null.Val[uuid.UUID]) FieldseekerSamplecollectionMod { +func (m fieldseekerSamplecollectionMods) GlobalidFunc(f func() uuid.UUID) FieldseekerSamplecollectionMod { return FieldseekerSamplecollectionModFunc(func(_ context.Context, o *FieldseekerSamplecollectionTemplate) { o.Globalid = f }) @@ -2344,32 +2348,10 @@ func (m fieldseekerSamplecollectionMods) UnsetGlobalid() FieldseekerSamplecollec // Generates a random value for the column using the given faker // if faker is nil, a default faker is used -// The generated value is sometimes null func (m fieldseekerSamplecollectionMods) RandomGlobalid(f *faker.Faker) FieldseekerSamplecollectionMod { return FieldseekerSamplecollectionModFunc(func(_ context.Context, o *FieldseekerSamplecollectionTemplate) { - o.Globalid = func() null.Val[uuid.UUID] { - if f == nil { - f = &defaultFaker - } - - val := random_uuid_UUID(f) - return null.From(val) - } - }) -} - -// Generates a random value for the column using the given faker -// if faker is nil, a default faker is used -// The generated value is never null -func (m fieldseekerSamplecollectionMods) RandomGlobalidNotNull(f *faker.Faker) FieldseekerSamplecollectionMod { - return FieldseekerSamplecollectionModFunc(func(_ context.Context, o *FieldseekerSamplecollectionTemplate) { - o.Globalid = func() null.Val[uuid.UUID] { - if f == nil { - f = &defaultFaker - } - - val := random_uuid_UUID(f) - return null.From(val) + o.Globalid = func() uuid.UUID { + return random_uuid_UUID(f) } }) } diff --git a/db/factory/fieldseeker.samplelocation.bob.go b/db/factory/fieldseeker.samplelocation.bob.go index 7e97b9c3..3da93ef9 100644 --- a/db/factory/fieldseeker.samplelocation.bob.go +++ b/db/factory/fieldseeker.samplelocation.bob.go @@ -1,4 +1,4 @@ -// Code generated by BobGen psql v0.0.4-0.20251216163753-8e325b7c773a+dirty. DO NOT EDIT. +// Code generated by BobGen psql v0.0.4-0.20260105020634-53e08d840e47+dirty. DO NOT EDIT. // This file is meant to be re-generated in place and/or deleted at any time. package factory @@ -54,7 +54,7 @@ type FieldseekerSamplelocationTemplate struct { Nextactiondatescheduled func() null.Val[time.Time] Zone2 func() null.Val[string] Locationnumber func() null.Val[int32] - Globalid func() null.Val[uuid.UUID] + Globalid func() uuid.UUID CreatedUser func() null.Val[string] CreatedDate func() null.Val[time.Time] LastEditedUser func() null.Val[string] @@ -164,7 +164,7 @@ func (o FieldseekerSamplelocationTemplate) BuildSetter() *models.FieldseekerSamp } if o.Globalid != nil { val := o.Globalid() - m.Globalid = omitnull.FromNull(val) + m.Globalid = omit.From(val) } if o.CreatedUser != nil { val := o.CreatedUser() @@ -344,6 +344,10 @@ func (o FieldseekerSamplelocationTemplate) BuildMany(number int) models.Fieldsee } func ensureCreatableFieldseekerSamplelocation(m *models.FieldseekerSamplelocationSetter) { + if !(m.Globalid.IsValue()) { + val := random_uuid_UUID(nil) + m.Globalid = omit.From(val) + } if !(m.Geometry.IsValue()) { val := random_types_JSON_json_RawMessage_(nil) m.Geometry = omit.From(val) @@ -1223,14 +1227,14 @@ func (m fieldseekerSamplelocationMods) RandomLocationnumberNotNull(f *faker.Fake } // Set the model columns to this value -func (m fieldseekerSamplelocationMods) Globalid(val null.Val[uuid.UUID]) FieldseekerSamplelocationMod { +func (m fieldseekerSamplelocationMods) Globalid(val uuid.UUID) FieldseekerSamplelocationMod { return FieldseekerSamplelocationModFunc(func(_ context.Context, o *FieldseekerSamplelocationTemplate) { - o.Globalid = func() null.Val[uuid.UUID] { return val } + o.Globalid = func() uuid.UUID { return val } }) } // Set the Column from the function -func (m fieldseekerSamplelocationMods) GlobalidFunc(f func() null.Val[uuid.UUID]) FieldseekerSamplelocationMod { +func (m fieldseekerSamplelocationMods) GlobalidFunc(f func() uuid.UUID) FieldseekerSamplelocationMod { return FieldseekerSamplelocationModFunc(func(_ context.Context, o *FieldseekerSamplelocationTemplate) { o.Globalid = f }) @@ -1245,32 +1249,10 @@ func (m fieldseekerSamplelocationMods) UnsetGlobalid() FieldseekerSamplelocation // Generates a random value for the column using the given faker // if faker is nil, a default faker is used -// The generated value is sometimes null func (m fieldseekerSamplelocationMods) RandomGlobalid(f *faker.Faker) FieldseekerSamplelocationMod { return FieldseekerSamplelocationModFunc(func(_ context.Context, o *FieldseekerSamplelocationTemplate) { - o.Globalid = func() null.Val[uuid.UUID] { - if f == nil { - f = &defaultFaker - } - - val := random_uuid_UUID(f) - return null.From(val) - } - }) -} - -// Generates a random value for the column using the given faker -// if faker is nil, a default faker is used -// The generated value is never null -func (m fieldseekerSamplelocationMods) RandomGlobalidNotNull(f *faker.Faker) FieldseekerSamplelocationMod { - return FieldseekerSamplelocationModFunc(func(_ context.Context, o *FieldseekerSamplelocationTemplate) { - o.Globalid = func() null.Val[uuid.UUID] { - if f == nil { - f = &defaultFaker - } - - val := random_uuid_UUID(f) - return null.From(val) + o.Globalid = func() uuid.UUID { + return random_uuid_UUID(f) } }) } diff --git a/db/factory/fieldseeker.servicerequest.bob.go b/db/factory/fieldseeker.servicerequest.bob.go index 5c85b053..ee638743 100644 --- a/db/factory/fieldseeker.servicerequest.bob.go +++ b/db/factory/fieldseeker.servicerequest.bob.go @@ -1,4 +1,4 @@ -// Code generated by BobGen psql v0.0.4-0.20251216163753-8e325b7c773a+dirty. DO NOT EDIT. +// Code generated by BobGen psql v0.0.4-0.20260105020634-53e08d840e47+dirty. DO NOT EDIT. // This file is meant to be re-generated in place and/or deleted at any time. package factory @@ -94,7 +94,7 @@ type FieldseekerServicerequestTemplate struct { Estcompletedate func() null.Val[time.Time] Nextaction func() null.Val[string] Recordstatus func() null.Val[int16] - Globalid func() null.Val[uuid.UUID] + Globalid func() uuid.UUID CreatedUser func() null.Val[string] CreatedDate func() null.Val[time.Time] LastEditedUser func() null.Val[string] @@ -386,7 +386,7 @@ func (o FieldseekerServicerequestTemplate) BuildSetter() *models.FieldseekerServ } if o.Globalid != nil { val := o.Globalid() - m.Globalid = omitnull.FromNull(val) + m.Globalid = omit.From(val) } if o.CreatedUser != nil { val := o.CreatedUser() @@ -840,6 +840,10 @@ func (o FieldseekerServicerequestTemplate) BuildMany(number int) models.Fieldsee } func ensureCreatableFieldseekerServicerequest(m *models.FieldseekerServicerequestSetter) { + if !(m.Globalid.IsValue()) { + val := random_uuid_UUID(nil) + m.Globalid = omit.From(val) + } if !(m.Geometry.IsValue()) { val := random_types_JSON_json_RawMessage_(nil) m.Geometry = omit.From(val) @@ -3901,14 +3905,14 @@ func (m fieldseekerServicerequestMods) RandomRecordstatusNotNull(f *faker.Faker) } // Set the model columns to this value -func (m fieldseekerServicerequestMods) Globalid(val null.Val[uuid.UUID]) FieldseekerServicerequestMod { +func (m fieldseekerServicerequestMods) Globalid(val uuid.UUID) FieldseekerServicerequestMod { return FieldseekerServicerequestModFunc(func(_ context.Context, o *FieldseekerServicerequestTemplate) { - o.Globalid = func() null.Val[uuid.UUID] { return val } + o.Globalid = func() uuid.UUID { return val } }) } // Set the Column from the function -func (m fieldseekerServicerequestMods) GlobalidFunc(f func() null.Val[uuid.UUID]) FieldseekerServicerequestMod { +func (m fieldseekerServicerequestMods) GlobalidFunc(f func() uuid.UUID) FieldseekerServicerequestMod { return FieldseekerServicerequestModFunc(func(_ context.Context, o *FieldseekerServicerequestTemplate) { o.Globalid = f }) @@ -3923,32 +3927,10 @@ func (m fieldseekerServicerequestMods) UnsetGlobalid() FieldseekerServicerequest // Generates a random value for the column using the given faker // if faker is nil, a default faker is used -// The generated value is sometimes null func (m fieldseekerServicerequestMods) RandomGlobalid(f *faker.Faker) FieldseekerServicerequestMod { return FieldseekerServicerequestModFunc(func(_ context.Context, o *FieldseekerServicerequestTemplate) { - o.Globalid = func() null.Val[uuid.UUID] { - if f == nil { - f = &defaultFaker - } - - val := random_uuid_UUID(f) - return null.From(val) - } - }) -} - -// Generates a random value for the column using the given faker -// if faker is nil, a default faker is used -// The generated value is never null -func (m fieldseekerServicerequestMods) RandomGlobalidNotNull(f *faker.Faker) FieldseekerServicerequestMod { - return FieldseekerServicerequestModFunc(func(_ context.Context, o *FieldseekerServicerequestTemplate) { - o.Globalid = func() null.Val[uuid.UUID] { - if f == nil { - f = &defaultFaker - } - - val := random_uuid_UUID(f) - return null.From(val) + o.Globalid = func() uuid.UUID { + return random_uuid_UUID(f) } }) } diff --git a/db/factory/fieldseeker.speciesabundance.bob.go b/db/factory/fieldseeker.speciesabundance.bob.go index f8194218..e4325466 100644 --- a/db/factory/fieldseeker.speciesabundance.bob.go +++ b/db/factory/fieldseeker.speciesabundance.bob.go @@ -1,4 +1,4 @@ -// Code generated by BobGen psql v0.0.4-0.20251216163753-8e325b7c773a+dirty. DO NOT EDIT. +// Code generated by BobGen psql v0.0.4-0.20260105020634-53e08d840e47+dirty. DO NOT EDIT. // This file is meant to be re-generated in place and/or deleted at any time. package factory @@ -50,7 +50,7 @@ type FieldseekerSpeciesabundanceTemplate struct { Larvae func() null.Val[int16] Poolstogen func() null.Val[int16] Processed func() null.Val[int16] - Globalid func() null.Val[uuid.UUID] + Globalid func() uuid.UUID CreatedUser func() null.Val[string] CreatedDate func() null.Val[time.Time] LastEditedUser func() null.Val[string] @@ -153,7 +153,7 @@ func (o FieldseekerSpeciesabundanceTemplate) BuildSetter() *models.FieldseekerSp } if o.Globalid != nil { val := o.Globalid() - m.Globalid = omitnull.FromNull(val) + m.Globalid = omit.From(val) } if o.CreatedUser != nil { val := o.CreatedUser() @@ -384,6 +384,10 @@ func (o FieldseekerSpeciesabundanceTemplate) BuildMany(number int) models.Fields } func ensureCreatableFieldseekerSpeciesabundance(m *models.FieldseekerSpeciesabundanceSetter) { + if !(m.Globalid.IsValue()) { + val := random_uuid_UUID(nil) + m.Globalid = omit.From(val) + } if !(m.Geometry.IsValue()) { val := random_types_JSON_json_RawMessage_(nil) m.Geometry = omit.From(val) @@ -1056,14 +1060,14 @@ func (m fieldseekerSpeciesabundanceMods) RandomProcessedNotNull(f *faker.Faker) } // Set the model columns to this value -func (m fieldseekerSpeciesabundanceMods) Globalid(val null.Val[uuid.UUID]) FieldseekerSpeciesabundanceMod { +func (m fieldseekerSpeciesabundanceMods) Globalid(val uuid.UUID) FieldseekerSpeciesabundanceMod { return FieldseekerSpeciesabundanceModFunc(func(_ context.Context, o *FieldseekerSpeciesabundanceTemplate) { - o.Globalid = func() null.Val[uuid.UUID] { return val } + o.Globalid = func() uuid.UUID { return val } }) } // Set the Column from the function -func (m fieldseekerSpeciesabundanceMods) GlobalidFunc(f func() null.Val[uuid.UUID]) FieldseekerSpeciesabundanceMod { +func (m fieldseekerSpeciesabundanceMods) GlobalidFunc(f func() uuid.UUID) FieldseekerSpeciesabundanceMod { return FieldseekerSpeciesabundanceModFunc(func(_ context.Context, o *FieldseekerSpeciesabundanceTemplate) { o.Globalid = f }) @@ -1078,32 +1082,10 @@ func (m fieldseekerSpeciesabundanceMods) UnsetGlobalid() FieldseekerSpeciesabund // Generates a random value for the column using the given faker // if faker is nil, a default faker is used -// The generated value is sometimes null func (m fieldseekerSpeciesabundanceMods) RandomGlobalid(f *faker.Faker) FieldseekerSpeciesabundanceMod { return FieldseekerSpeciesabundanceModFunc(func(_ context.Context, o *FieldseekerSpeciesabundanceTemplate) { - o.Globalid = func() null.Val[uuid.UUID] { - if f == nil { - f = &defaultFaker - } - - val := random_uuid_UUID(f) - return null.From(val) - } - }) -} - -// Generates a random value for the column using the given faker -// if faker is nil, a default faker is used -// The generated value is never null -func (m fieldseekerSpeciesabundanceMods) RandomGlobalidNotNull(f *faker.Faker) FieldseekerSpeciesabundanceMod { - return FieldseekerSpeciesabundanceModFunc(func(_ context.Context, o *FieldseekerSpeciesabundanceTemplate) { - o.Globalid = func() null.Val[uuid.UUID] { - if f == nil { - f = &defaultFaker - } - - val := random_uuid_UUID(f) - return null.From(val) + o.Globalid = func() uuid.UUID { + return random_uuid_UUID(f) } }) } diff --git a/db/factory/fieldseeker.stormdrain.bob.go b/db/factory/fieldseeker.stormdrain.bob.go index 4d313ec0..df521773 100644 --- a/db/factory/fieldseeker.stormdrain.bob.go +++ b/db/factory/fieldseeker.stormdrain.bob.go @@ -1,4 +1,4 @@ -// Code generated by BobGen psql v0.0.4-0.20251216163753-8e325b7c773a+dirty. DO NOT EDIT. +// Code generated by BobGen psql v0.0.4-0.20260105020634-53e08d840e47+dirty. DO NOT EDIT. // This file is meant to be re-generated in place and/or deleted at any time. package factory @@ -45,7 +45,7 @@ type FieldseekerStormdrainTemplate struct { Lasttreatdate func() null.Val[time.Time] Lastaction func() null.Val[string] Symbology func() null.Val[string] - Globalid func() null.Val[uuid.UUID] + Globalid func() uuid.UUID CreatedUser func() null.Val[string] CreatedDate func() null.Val[time.Time] LastEditedUser func() null.Val[string] @@ -123,7 +123,7 @@ func (o FieldseekerStormdrainTemplate) BuildSetter() *models.FieldseekerStormdra } if o.Globalid != nil { val := o.Globalid() - m.Globalid = omitnull.FromNull(val) + m.Globalid = omit.From(val) } if o.CreatedUser != nil { val := o.CreatedUser() @@ -304,6 +304,10 @@ func (o FieldseekerStormdrainTemplate) BuildMany(number int) models.FieldseekerS } func ensureCreatableFieldseekerStormdrain(m *models.FieldseekerStormdrainSetter) { + if !(m.Globalid.IsValue()) { + val := random_uuid_UUID(nil) + m.Globalid = omit.From(val) + } if !(m.Geometry.IsValue()) { val := random_types_JSON_json_RawMessage_(nil) m.Geometry = omit.From(val) @@ -701,14 +705,14 @@ func (m fieldseekerStormdrainMods) RandomSymbologyNotNull(f *faker.Faker) Fields } // Set the model columns to this value -func (m fieldseekerStormdrainMods) Globalid(val null.Val[uuid.UUID]) FieldseekerStormdrainMod { +func (m fieldseekerStormdrainMods) Globalid(val uuid.UUID) FieldseekerStormdrainMod { return FieldseekerStormdrainModFunc(func(_ context.Context, o *FieldseekerStormdrainTemplate) { - o.Globalid = func() null.Val[uuid.UUID] { return val } + o.Globalid = func() uuid.UUID { return val } }) } // Set the Column from the function -func (m fieldseekerStormdrainMods) GlobalidFunc(f func() null.Val[uuid.UUID]) FieldseekerStormdrainMod { +func (m fieldseekerStormdrainMods) GlobalidFunc(f func() uuid.UUID) FieldseekerStormdrainMod { return FieldseekerStormdrainModFunc(func(_ context.Context, o *FieldseekerStormdrainTemplate) { o.Globalid = f }) @@ -723,32 +727,10 @@ func (m fieldseekerStormdrainMods) UnsetGlobalid() FieldseekerStormdrainMod { // Generates a random value for the column using the given faker // if faker is nil, a default faker is used -// The generated value is sometimes null func (m fieldseekerStormdrainMods) RandomGlobalid(f *faker.Faker) FieldseekerStormdrainMod { return FieldseekerStormdrainModFunc(func(_ context.Context, o *FieldseekerStormdrainTemplate) { - o.Globalid = func() null.Val[uuid.UUID] { - if f == nil { - f = &defaultFaker - } - - val := random_uuid_UUID(f) - return null.From(val) - } - }) -} - -// Generates a random value for the column using the given faker -// if faker is nil, a default faker is used -// The generated value is never null -func (m fieldseekerStormdrainMods) RandomGlobalidNotNull(f *faker.Faker) FieldseekerStormdrainMod { - return FieldseekerStormdrainModFunc(func(_ context.Context, o *FieldseekerStormdrainTemplate) { - o.Globalid = func() null.Val[uuid.UUID] { - if f == nil { - f = &defaultFaker - } - - val := random_uuid_UUID(f) - return null.From(val) + o.Globalid = func() uuid.UUID { + return random_uuid_UUID(f) } }) } diff --git a/db/factory/fieldseeker.timecard.bob.go b/db/factory/fieldseeker.timecard.bob.go index 993c48c0..c4106fd6 100644 --- a/db/factory/fieldseeker.timecard.bob.go +++ b/db/factory/fieldseeker.timecard.bob.go @@ -1,4 +1,4 @@ -// Code generated by BobGen psql v0.0.4-0.20251216163753-8e325b7c773a+dirty. DO NOT EDIT. +// Code generated by BobGen psql v0.0.4-0.20260105020634-53e08d840e47+dirty. DO NOT EDIT. // This file is meant to be re-generated in place and/or deleted at any time. package factory @@ -50,7 +50,7 @@ type FieldseekerTimecardTemplate struct { Locationname func() null.Val[string] Zone func() null.Val[string] Zone2 func() null.Val[string] - Globalid func() null.Val[uuid.UUID] + Globalid func() uuid.UUID CreatedUser func() null.Val[string] CreatedDate func() null.Val[time.Time] LastEditedUser func() null.Val[string] @@ -152,7 +152,7 @@ func (o FieldseekerTimecardTemplate) BuildSetter() *models.FieldseekerTimecardSe } if o.Globalid != nil { val := o.Globalid() - m.Globalid = omitnull.FromNull(val) + m.Globalid = omit.From(val) } if o.CreatedUser != nil { val := o.CreatedUser() @@ -376,6 +376,10 @@ func (o FieldseekerTimecardTemplate) BuildMany(number int) models.FieldseekerTim } func ensureCreatableFieldseekerTimecard(m *models.FieldseekerTimecardSetter) { + if !(m.Globalid.IsValue()) { + val := random_uuid_UUID(nil) + m.Globalid = omit.From(val) + } if !(m.Geometry.IsValue()) { val := random_types_JSON_json_RawMessage_(nil) m.Geometry = omit.From(val) @@ -1047,14 +1051,14 @@ func (m fieldseekerTimecardMods) RandomZone2NotNull(f *faker.Faker) FieldseekerT } // Set the model columns to this value -func (m fieldseekerTimecardMods) Globalid(val null.Val[uuid.UUID]) FieldseekerTimecardMod { +func (m fieldseekerTimecardMods) Globalid(val uuid.UUID) FieldseekerTimecardMod { return FieldseekerTimecardModFunc(func(_ context.Context, o *FieldseekerTimecardTemplate) { - o.Globalid = func() null.Val[uuid.UUID] { return val } + o.Globalid = func() uuid.UUID { return val } }) } // Set the Column from the function -func (m fieldseekerTimecardMods) GlobalidFunc(f func() null.Val[uuid.UUID]) FieldseekerTimecardMod { +func (m fieldseekerTimecardMods) GlobalidFunc(f func() uuid.UUID) FieldseekerTimecardMod { return FieldseekerTimecardModFunc(func(_ context.Context, o *FieldseekerTimecardTemplate) { o.Globalid = f }) @@ -1069,32 +1073,10 @@ func (m fieldseekerTimecardMods) UnsetGlobalid() FieldseekerTimecardMod { // Generates a random value for the column using the given faker // if faker is nil, a default faker is used -// The generated value is sometimes null func (m fieldseekerTimecardMods) RandomGlobalid(f *faker.Faker) FieldseekerTimecardMod { return FieldseekerTimecardModFunc(func(_ context.Context, o *FieldseekerTimecardTemplate) { - o.Globalid = func() null.Val[uuid.UUID] { - if f == nil { - f = &defaultFaker - } - - val := random_uuid_UUID(f) - return null.From(val) - } - }) -} - -// Generates a random value for the column using the given faker -// if faker is nil, a default faker is used -// The generated value is never null -func (m fieldseekerTimecardMods) RandomGlobalidNotNull(f *faker.Faker) FieldseekerTimecardMod { - return FieldseekerTimecardModFunc(func(_ context.Context, o *FieldseekerTimecardTemplate) { - o.Globalid = func() null.Val[uuid.UUID] { - if f == nil { - f = &defaultFaker - } - - val := random_uuid_UUID(f) - return null.From(val) + o.Globalid = func() uuid.UUID { + return random_uuid_UUID(f) } }) } diff --git a/db/factory/fieldseeker.trapdata.bob.go b/db/factory/fieldseeker.trapdata.bob.go index 1bb0abd4..658febea 100644 --- a/db/factory/fieldseeker.trapdata.bob.go +++ b/db/factory/fieldseeker.trapdata.bob.go @@ -1,4 +1,4 @@ -// Code generated by BobGen psql v0.0.4-0.20251216163753-8e325b7c773a+dirty. DO NOT EDIT. +// Code generated by BobGen psql v0.0.4-0.20260105020634-53e08d840e47+dirty. DO NOT EDIT. // This file is meant to be re-generated in place and/or deleted at any time. package factory @@ -59,7 +59,7 @@ type FieldseekerTrapdatumTemplate struct { Trapnights func() null.Val[int16] Zone func() null.Val[string] Zone2 func() null.Val[string] - Globalid func() null.Val[uuid.UUID] + Globalid func() uuid.UUID CreatedUser func() null.Val[string] CreatedDate func() null.Val[time.Time] LastEditedUser func() null.Val[string] @@ -202,7 +202,7 @@ func (o FieldseekerTrapdatumTemplate) BuildSetter() *models.FieldseekerTrapdatum } if o.Globalid != nil { val := o.Globalid() - m.Globalid = omitnull.FromNull(val) + m.Globalid = omit.From(val) } if o.CreatedUser != nil { val := o.CreatedUser() @@ -488,6 +488,10 @@ func (o FieldseekerTrapdatumTemplate) BuildMany(number int) models.FieldseekerTr } func ensureCreatableFieldseekerTrapdatum(m *models.FieldseekerTrapdatumSetter) { + if !(m.Globalid.IsValue()) { + val := random_uuid_UUID(nil) + m.Globalid = omit.From(val) + } if !(m.Geometry.IsValue()) { val := random_types_JSON_json_RawMessage_(nil) m.Geometry = omit.From(val) @@ -1650,14 +1654,14 @@ func (m fieldseekerTrapdatumMods) RandomZone2NotNull(f *faker.Faker) Fieldseeker } // Set the model columns to this value -func (m fieldseekerTrapdatumMods) Globalid(val null.Val[uuid.UUID]) FieldseekerTrapdatumMod { +func (m fieldseekerTrapdatumMods) Globalid(val uuid.UUID) FieldseekerTrapdatumMod { return FieldseekerTrapdatumModFunc(func(_ context.Context, o *FieldseekerTrapdatumTemplate) { - o.Globalid = func() null.Val[uuid.UUID] { return val } + o.Globalid = func() uuid.UUID { return val } }) } // Set the Column from the function -func (m fieldseekerTrapdatumMods) GlobalidFunc(f func() null.Val[uuid.UUID]) FieldseekerTrapdatumMod { +func (m fieldseekerTrapdatumMods) GlobalidFunc(f func() uuid.UUID) FieldseekerTrapdatumMod { return FieldseekerTrapdatumModFunc(func(_ context.Context, o *FieldseekerTrapdatumTemplate) { o.Globalid = f }) @@ -1672,32 +1676,10 @@ func (m fieldseekerTrapdatumMods) UnsetGlobalid() FieldseekerTrapdatumMod { // Generates a random value for the column using the given faker // if faker is nil, a default faker is used -// The generated value is sometimes null func (m fieldseekerTrapdatumMods) RandomGlobalid(f *faker.Faker) FieldseekerTrapdatumMod { return FieldseekerTrapdatumModFunc(func(_ context.Context, o *FieldseekerTrapdatumTemplate) { - o.Globalid = func() null.Val[uuid.UUID] { - if f == nil { - f = &defaultFaker - } - - val := random_uuid_UUID(f) - return null.From(val) - } - }) -} - -// Generates a random value for the column using the given faker -// if faker is nil, a default faker is used -// The generated value is never null -func (m fieldseekerTrapdatumMods) RandomGlobalidNotNull(f *faker.Faker) FieldseekerTrapdatumMod { - return FieldseekerTrapdatumModFunc(func(_ context.Context, o *FieldseekerTrapdatumTemplate) { - o.Globalid = func() null.Val[uuid.UUID] { - if f == nil { - f = &defaultFaker - } - - val := random_uuid_UUID(f) - return null.From(val) + o.Globalid = func() uuid.UUID { + return random_uuid_UUID(f) } }) } diff --git a/db/factory/fieldseeker.traplocation.bob.go b/db/factory/fieldseeker.traplocation.bob.go index 7587ce56..63e84725 100644 --- a/db/factory/fieldseeker.traplocation.bob.go +++ b/db/factory/fieldseeker.traplocation.bob.go @@ -1,4 +1,4 @@ -// Code generated by BobGen psql v0.0.4-0.20251216163753-8e325b7c773a+dirty. DO NOT EDIT. +// Code generated by BobGen psql v0.0.4-0.20260105020634-53e08d840e47+dirty. DO NOT EDIT. // This file is meant to be re-generated in place and/or deleted at any time. package factory @@ -54,7 +54,7 @@ type FieldseekerTraplocationTemplate struct { Nextactiondatescheduled func() null.Val[time.Time] Zone2 func() null.Val[string] Locationnumber func() null.Val[int32] - Globalid func() null.Val[uuid.UUID] + Globalid func() uuid.UUID CreatedUser func() null.Val[string] CreatedDate func() null.Val[time.Time] LastEditedUser func() null.Val[string] @@ -170,7 +170,7 @@ func (o FieldseekerTraplocationTemplate) BuildSetter() *models.FieldseekerTraplo } if o.Globalid != nil { val := o.Globalid() - m.Globalid = omitnull.FromNull(val) + m.Globalid = omit.From(val) } if o.CreatedUser != nil { val := o.CreatedUser() @@ -392,6 +392,10 @@ func (o FieldseekerTraplocationTemplate) BuildMany(number int) models.Fieldseeke } func ensureCreatableFieldseekerTraplocation(m *models.FieldseekerTraplocationSetter) { + if !(m.Globalid.IsValue()) { + val := random_uuid_UUID(nil) + m.Globalid = omit.From(val) + } if !(m.Geometry.IsValue()) { val := random_types_JSON_json_RawMessage_(nil) m.Geometry = omit.From(val) @@ -1277,14 +1281,14 @@ func (m fieldseekerTraplocationMods) RandomLocationnumberNotNull(f *faker.Faker) } // Set the model columns to this value -func (m fieldseekerTraplocationMods) Globalid(val null.Val[uuid.UUID]) FieldseekerTraplocationMod { +func (m fieldseekerTraplocationMods) Globalid(val uuid.UUID) FieldseekerTraplocationMod { return FieldseekerTraplocationModFunc(func(_ context.Context, o *FieldseekerTraplocationTemplate) { - o.Globalid = func() null.Val[uuid.UUID] { return val } + o.Globalid = func() uuid.UUID { return val } }) } // Set the Column from the function -func (m fieldseekerTraplocationMods) GlobalidFunc(f func() null.Val[uuid.UUID]) FieldseekerTraplocationMod { +func (m fieldseekerTraplocationMods) GlobalidFunc(f func() uuid.UUID) FieldseekerTraplocationMod { return FieldseekerTraplocationModFunc(func(_ context.Context, o *FieldseekerTraplocationTemplate) { o.Globalid = f }) @@ -1299,32 +1303,10 @@ func (m fieldseekerTraplocationMods) UnsetGlobalid() FieldseekerTraplocationMod // Generates a random value for the column using the given faker // if faker is nil, a default faker is used -// The generated value is sometimes null func (m fieldseekerTraplocationMods) RandomGlobalid(f *faker.Faker) FieldseekerTraplocationMod { return FieldseekerTraplocationModFunc(func(_ context.Context, o *FieldseekerTraplocationTemplate) { - o.Globalid = func() null.Val[uuid.UUID] { - if f == nil { - f = &defaultFaker - } - - val := random_uuid_UUID(f) - return null.From(val) - } - }) -} - -// Generates a random value for the column using the given faker -// if faker is nil, a default faker is used -// The generated value is never null -func (m fieldseekerTraplocationMods) RandomGlobalidNotNull(f *faker.Faker) FieldseekerTraplocationMod { - return FieldseekerTraplocationModFunc(func(_ context.Context, o *FieldseekerTraplocationTemplate) { - o.Globalid = func() null.Val[uuid.UUID] { - if f == nil { - f = &defaultFaker - } - - val := random_uuid_UUID(f) - return null.From(val) + o.Globalid = func() uuid.UUID { + return random_uuid_UUID(f) } }) } diff --git a/db/factory/fieldseeker.treatment.bob.go b/db/factory/fieldseeker.treatment.bob.go index 25eba31b..fbde2bfb 100644 --- a/db/factory/fieldseeker.treatment.bob.go +++ b/db/factory/fieldseeker.treatment.bob.go @@ -1,4 +1,4 @@ -// Code generated by BobGen psql v0.0.4-0.20251216163753-8e325b7c773a+dirty. DO NOT EDIT. +// Code generated by BobGen psql v0.0.4-0.20260105020634-53e08d840e47+dirty. DO NOT EDIT. // This file is meant to be re-generated in place and/or deleted at any time. package factory @@ -69,7 +69,7 @@ type FieldseekerTreatmentTemplate struct { Tirecount func() null.Val[int16] Cbcount func() null.Val[int16] Containercount func() null.Val[int16] - Globalid func() null.Val[uuid.UUID] + Globalid func() uuid.UUID Treatmentlength func() null.Val[float64] Treatmenthours func() null.Val[float64] Treatmentlengthunits func() null.Val[string] @@ -254,7 +254,7 @@ func (o FieldseekerTreatmentTemplate) BuildSetter() *models.FieldseekerTreatment } if o.Globalid != nil { val := o.Globalid() - m.Globalid = omitnull.FromNull(val) + m.Globalid = omit.From(val) } if o.Treatmentlength != nil { val := o.Treatmentlength() @@ -584,6 +584,10 @@ func (o FieldseekerTreatmentTemplate) BuildMany(number int) models.FieldseekerTr } func ensureCreatableFieldseekerTreatment(m *models.FieldseekerTreatmentSetter) { + if !(m.Globalid.IsValue()) { + val := random_uuid_UUID(nil) + m.Globalid = omit.From(val) + } if !(m.Geometry.IsValue()) { val := random_types_JSON_json_RawMessage_(nil) m.Geometry = omit.From(val) @@ -2288,14 +2292,14 @@ func (m fieldseekerTreatmentMods) RandomContainercountNotNull(f *faker.Faker) Fi } // Set the model columns to this value -func (m fieldseekerTreatmentMods) Globalid(val null.Val[uuid.UUID]) FieldseekerTreatmentMod { +func (m fieldseekerTreatmentMods) Globalid(val uuid.UUID) FieldseekerTreatmentMod { return FieldseekerTreatmentModFunc(func(_ context.Context, o *FieldseekerTreatmentTemplate) { - o.Globalid = func() null.Val[uuid.UUID] { return val } + o.Globalid = func() uuid.UUID { return val } }) } // Set the Column from the function -func (m fieldseekerTreatmentMods) GlobalidFunc(f func() null.Val[uuid.UUID]) FieldseekerTreatmentMod { +func (m fieldseekerTreatmentMods) GlobalidFunc(f func() uuid.UUID) FieldseekerTreatmentMod { return FieldseekerTreatmentModFunc(func(_ context.Context, o *FieldseekerTreatmentTemplate) { o.Globalid = f }) @@ -2310,32 +2314,10 @@ func (m fieldseekerTreatmentMods) UnsetGlobalid() FieldseekerTreatmentMod { // Generates a random value for the column using the given faker // if faker is nil, a default faker is used -// The generated value is sometimes null func (m fieldseekerTreatmentMods) RandomGlobalid(f *faker.Faker) FieldseekerTreatmentMod { return FieldseekerTreatmentModFunc(func(_ context.Context, o *FieldseekerTreatmentTemplate) { - o.Globalid = func() null.Val[uuid.UUID] { - if f == nil { - f = &defaultFaker - } - - val := random_uuid_UUID(f) - return null.From(val) - } - }) -} - -// Generates a random value for the column using the given faker -// if faker is nil, a default faker is used -// The generated value is never null -func (m fieldseekerTreatmentMods) RandomGlobalidNotNull(f *faker.Faker) FieldseekerTreatmentMod { - return FieldseekerTreatmentModFunc(func(_ context.Context, o *FieldseekerTreatmentTemplate) { - o.Globalid = func() null.Val[uuid.UUID] { - if f == nil { - f = &defaultFaker - } - - val := random_uuid_UUID(f) - return null.From(val) + o.Globalid = func() uuid.UUID { + return random_uuid_UUID(f) } }) } diff --git a/db/factory/fieldseeker.treatmentarea.bob.go b/db/factory/fieldseeker.treatmentarea.bob.go index e635cb31..86d0a906 100644 --- a/db/factory/fieldseeker.treatmentarea.bob.go +++ b/db/factory/fieldseeker.treatmentarea.bob.go @@ -1,4 +1,4 @@ -// Code generated by BobGen psql v0.0.4-0.20251216163753-8e325b7c773a+dirty. DO NOT EDIT. +// Code generated by BobGen psql v0.0.4-0.20260105020634-53e08d840e47+dirty. DO NOT EDIT. // This file is meant to be re-generated in place and/or deleted at any time. package factory @@ -45,7 +45,7 @@ type FieldseekerTreatmentareaTemplate struct { SessionID func() null.Val[uuid.UUID] Treatdate func() null.Val[time.Time] Comments func() null.Val[string] - Globalid func() null.Val[uuid.UUID] + Globalid func() uuid.UUID CreatedUser func() null.Val[string] CreatedDate func() null.Val[time.Time] LastEditedUser func() null.Val[string] @@ -122,7 +122,7 @@ func (o FieldseekerTreatmentareaTemplate) BuildSetter() *models.FieldseekerTreat } if o.Globalid != nil { val := o.Globalid() - m.Globalid = omitnull.FromNull(val) + m.Globalid = omit.From(val) } if o.CreatedUser != nil { val := o.CreatedUser() @@ -296,6 +296,10 @@ func (o FieldseekerTreatmentareaTemplate) BuildMany(number int) models.Fieldseek } func ensureCreatableFieldseekerTreatmentarea(m *models.FieldseekerTreatmentareaSetter) { + if !(m.Globalid.IsValue()) { + val := random_uuid_UUID(nil) + m.Globalid = omit.From(val) + } if !(m.Geometry.IsValue()) { val := random_types_JSON_json_RawMessage_(nil) m.Geometry = omit.From(val) @@ -692,14 +696,14 @@ func (m fieldseekerTreatmentareaMods) RandomCommentsNotNull(f *faker.Faker) Fiel } // Set the model columns to this value -func (m fieldseekerTreatmentareaMods) Globalid(val null.Val[uuid.UUID]) FieldseekerTreatmentareaMod { +func (m fieldseekerTreatmentareaMods) Globalid(val uuid.UUID) FieldseekerTreatmentareaMod { return FieldseekerTreatmentareaModFunc(func(_ context.Context, o *FieldseekerTreatmentareaTemplate) { - o.Globalid = func() null.Val[uuid.UUID] { return val } + o.Globalid = func() uuid.UUID { return val } }) } // Set the Column from the function -func (m fieldseekerTreatmentareaMods) GlobalidFunc(f func() null.Val[uuid.UUID]) FieldseekerTreatmentareaMod { +func (m fieldseekerTreatmentareaMods) GlobalidFunc(f func() uuid.UUID) FieldseekerTreatmentareaMod { return FieldseekerTreatmentareaModFunc(func(_ context.Context, o *FieldseekerTreatmentareaTemplate) { o.Globalid = f }) @@ -714,32 +718,10 @@ func (m fieldseekerTreatmentareaMods) UnsetGlobalid() FieldseekerTreatmentareaMo // Generates a random value for the column using the given faker // if faker is nil, a default faker is used -// The generated value is sometimes null func (m fieldseekerTreatmentareaMods) RandomGlobalid(f *faker.Faker) FieldseekerTreatmentareaMod { return FieldseekerTreatmentareaModFunc(func(_ context.Context, o *FieldseekerTreatmentareaTemplate) { - o.Globalid = func() null.Val[uuid.UUID] { - if f == nil { - f = &defaultFaker - } - - val := random_uuid_UUID(f) - return null.From(val) - } - }) -} - -// Generates a random value for the column using the given faker -// if faker is nil, a default faker is used -// The generated value is never null -func (m fieldseekerTreatmentareaMods) RandomGlobalidNotNull(f *faker.Faker) FieldseekerTreatmentareaMod { - return FieldseekerTreatmentareaModFunc(func(_ context.Context, o *FieldseekerTreatmentareaTemplate) { - o.Globalid = func() null.Val[uuid.UUID] { - if f == nil { - f = &defaultFaker - } - - val := random_uuid_UUID(f) - return null.From(val) + o.Globalid = func() uuid.UUID { + return random_uuid_UUID(f) } }) } diff --git a/db/factory/fieldseeker.zones.bob.go b/db/factory/fieldseeker.zones.bob.go index fad1a4f0..72ef1e81 100644 --- a/db/factory/fieldseeker.zones.bob.go +++ b/db/factory/fieldseeker.zones.bob.go @@ -1,4 +1,4 @@ -// Code generated by BobGen psql v0.0.4-0.20251216163753-8e325b7c773a+dirty. DO NOT EDIT. +// Code generated by BobGen psql v0.0.4-0.20260105020634-53e08d840e47+dirty. DO NOT EDIT. // This file is meant to be re-generated in place and/or deleted at any time. package factory @@ -42,7 +42,7 @@ func (mods FieldseekerZoneModSlice) Apply(ctx context.Context, n *FieldseekerZon type FieldseekerZoneTemplate struct { Objectid func() int64 Name func() null.Val[string] - Globalid func() null.Val[uuid.UUID] + Globalid func() uuid.UUID CreatedUser func() null.Val[string] CreatedDate func() null.Val[time.Time] LastEditedUser func() null.Val[string] @@ -106,7 +106,7 @@ func (o FieldseekerZoneTemplate) BuildSetter() *models.FieldseekerZoneSetter { } if o.Globalid != nil { val := o.Globalid() - m.Globalid = omitnull.FromNull(val) + m.Globalid = omit.From(val) } if o.CreatedUser != nil { val := o.CreatedUser() @@ -264,6 +264,10 @@ func (o FieldseekerZoneTemplate) BuildMany(number int) models.FieldseekerZoneSli } func ensureCreatableFieldseekerZone(m *models.FieldseekerZoneSetter) { + if !(m.Globalid.IsValue()) { + val := random_uuid_UUID(nil) + m.Globalid = omit.From(val) + } if !(m.Geometry.IsValue()) { val := random_types_JSON_json_RawMessage_(nil) m.Geometry = omit.From(val) @@ -497,14 +501,14 @@ func (m fieldseekerZoneMods) RandomNameNotNull(f *faker.Faker) FieldseekerZoneMo } // Set the model columns to this value -func (m fieldseekerZoneMods) Globalid(val null.Val[uuid.UUID]) FieldseekerZoneMod { +func (m fieldseekerZoneMods) Globalid(val uuid.UUID) FieldseekerZoneMod { return FieldseekerZoneModFunc(func(_ context.Context, o *FieldseekerZoneTemplate) { - o.Globalid = func() null.Val[uuid.UUID] { return val } + o.Globalid = func() uuid.UUID { return val } }) } // Set the Column from the function -func (m fieldseekerZoneMods) GlobalidFunc(f func() null.Val[uuid.UUID]) FieldseekerZoneMod { +func (m fieldseekerZoneMods) GlobalidFunc(f func() uuid.UUID) FieldseekerZoneMod { return FieldseekerZoneModFunc(func(_ context.Context, o *FieldseekerZoneTemplate) { o.Globalid = f }) @@ -519,32 +523,10 @@ func (m fieldseekerZoneMods) UnsetGlobalid() FieldseekerZoneMod { // Generates a random value for the column using the given faker // if faker is nil, a default faker is used -// The generated value is sometimes null func (m fieldseekerZoneMods) RandomGlobalid(f *faker.Faker) FieldseekerZoneMod { return FieldseekerZoneModFunc(func(_ context.Context, o *FieldseekerZoneTemplate) { - o.Globalid = func() null.Val[uuid.UUID] { - if f == nil { - f = &defaultFaker - } - - val := random_uuid_UUID(f) - return null.From(val) - } - }) -} - -// Generates a random value for the column using the given faker -// if faker is nil, a default faker is used -// The generated value is never null -func (m fieldseekerZoneMods) RandomGlobalidNotNull(f *faker.Faker) FieldseekerZoneMod { - return FieldseekerZoneModFunc(func(_ context.Context, o *FieldseekerZoneTemplate) { - o.Globalid = func() null.Val[uuid.UUID] { - if f == nil { - f = &defaultFaker - } - - val := random_uuid_UUID(f) - return null.From(val) + o.Globalid = func() uuid.UUID { + return random_uuid_UUID(f) } }) } diff --git a/db/factory/fieldseeker.zones2.bob.go b/db/factory/fieldseeker.zones2.bob.go index e59f427c..f8f7f71b 100644 --- a/db/factory/fieldseeker.zones2.bob.go +++ b/db/factory/fieldseeker.zones2.bob.go @@ -1,4 +1,4 @@ -// Code generated by BobGen psql v0.0.4-0.20251216163753-8e325b7c773a+dirty. DO NOT EDIT. +// Code generated by BobGen psql v0.0.4-0.20260105020634-53e08d840e47+dirty. DO NOT EDIT. // This file is meant to be re-generated in place and/or deleted at any time. package factory @@ -42,7 +42,7 @@ func (mods FieldseekerZones2ModSlice) Apply(ctx context.Context, n *FieldseekerZ type FieldseekerZones2Template struct { Objectid func() int64 Name func() null.Val[string] - Globalid func() null.Val[uuid.UUID] + Globalid func() uuid.UUID CreatedUser func() null.Val[string] CreatedDate func() null.Val[time.Time] LastEditedUser func() null.Val[string] @@ -105,7 +105,7 @@ func (o FieldseekerZones2Template) BuildSetter() *models.FieldseekerZones2Setter } if o.Globalid != nil { val := o.Globalid() - m.Globalid = omitnull.FromNull(val) + m.Globalid = omit.From(val) } if o.CreatedUser != nil { val := o.CreatedUser() @@ -256,6 +256,10 @@ func (o FieldseekerZones2Template) BuildMany(number int) models.FieldseekerZones } func ensureCreatableFieldseekerZones2(m *models.FieldseekerZones2Setter) { + if !(m.Globalid.IsValue()) { + val := random_uuid_UUID(nil) + m.Globalid = omit.From(val) + } if !(m.Geometry.IsValue()) { val := random_types_JSON_json_RawMessage_(nil) m.Geometry = omit.From(val) @@ -488,14 +492,14 @@ func (m fieldseekerZones2Mods) RandomNameNotNull(f *faker.Faker) FieldseekerZone } // Set the model columns to this value -func (m fieldseekerZones2Mods) Globalid(val null.Val[uuid.UUID]) FieldseekerZones2Mod { +func (m fieldseekerZones2Mods) Globalid(val uuid.UUID) FieldseekerZones2Mod { return FieldseekerZones2ModFunc(func(_ context.Context, o *FieldseekerZones2Template) { - o.Globalid = func() null.Val[uuid.UUID] { return val } + o.Globalid = func() uuid.UUID { return val } }) } // Set the Column from the function -func (m fieldseekerZones2Mods) GlobalidFunc(f func() null.Val[uuid.UUID]) FieldseekerZones2Mod { +func (m fieldseekerZones2Mods) GlobalidFunc(f func() uuid.UUID) FieldseekerZones2Mod { return FieldseekerZones2ModFunc(func(_ context.Context, o *FieldseekerZones2Template) { o.Globalid = f }) @@ -510,32 +514,10 @@ func (m fieldseekerZones2Mods) UnsetGlobalid() FieldseekerZones2Mod { // Generates a random value for the column using the given faker // if faker is nil, a default faker is used -// The generated value is sometimes null func (m fieldseekerZones2Mods) RandomGlobalid(f *faker.Faker) FieldseekerZones2Mod { return FieldseekerZones2ModFunc(func(_ context.Context, o *FieldseekerZones2Template) { - o.Globalid = func() null.Val[uuid.UUID] { - if f == nil { - f = &defaultFaker - } - - val := random_uuid_UUID(f) - return null.From(val) - } - }) -} - -// Generates a random value for the column using the given faker -// if faker is nil, a default faker is used -// The generated value is never null -func (m fieldseekerZones2Mods) RandomGlobalidNotNull(f *faker.Faker) FieldseekerZones2Mod { - return FieldseekerZones2ModFunc(func(_ context.Context, o *FieldseekerZones2Template) { - o.Globalid = func() null.Val[uuid.UUID] { - if f == nil { - f = &defaultFaker - } - - val := random_uuid_UUID(f) - return null.From(val) + o.Globalid = func() uuid.UUID { + return random_uuid_UUID(f) } }) } diff --git a/db/factory/fieldseeker_sync.bob.go b/db/factory/fieldseeker_sync.bob.go index 58c19f35..1e4eb34c 100644 --- a/db/factory/fieldseeker_sync.bob.go +++ b/db/factory/fieldseeker_sync.bob.go @@ -1,4 +1,4 @@ -// Code generated by BobGen psql v0.0.4-0.20251216163753-8e325b7c773a+dirty. DO NOT EDIT. +// Code generated by BobGen psql v0.0.4-0.20260105020634-53e08d840e47+dirty. DO NOT EDIT. // This file is meant to be re-generated in place and/or deleted at any time. package factory diff --git a/db/factory/geography_columns.bob.go b/db/factory/geography_columns.bob.go index 7d8ba492..ae74519b 100644 --- a/db/factory/geography_columns.bob.go +++ b/db/factory/geography_columns.bob.go @@ -1,4 +1,4 @@ -// Code generated by BobGen psql v0.0.4-0.20251216163753-8e325b7c773a+dirty. DO NOT EDIT. +// Code generated by BobGen psql v0.0.4-0.20260105020634-53e08d840e47+dirty. DO NOT EDIT. // This file is meant to be re-generated in place and/or deleted at any time. package factory diff --git a/db/factory/geometry_columns.bob.go b/db/factory/geometry_columns.bob.go index c51e3ef9..f493872e 100644 --- a/db/factory/geometry_columns.bob.go +++ b/db/factory/geometry_columns.bob.go @@ -1,4 +1,4 @@ -// Code generated by BobGen psql v0.0.4-0.20251216163753-8e325b7c773a+dirty. DO NOT EDIT. +// Code generated by BobGen psql v0.0.4-0.20260105020634-53e08d840e47+dirty. DO NOT EDIT. // This file is meant to be re-generated in place and/or deleted at any time. package factory diff --git a/db/factory/goose_db_version.bob.go b/db/factory/goose_db_version.bob.go index ebcd2717..68bc4aea 100644 --- a/db/factory/goose_db_version.bob.go +++ b/db/factory/goose_db_version.bob.go @@ -1,4 +1,4 @@ -// Code generated by BobGen psql v0.0.4-0.20251216163753-8e325b7c773a+dirty. DO NOT EDIT. +// Code generated by BobGen psql v0.0.4-0.20260105020634-53e08d840e47+dirty. DO NOT EDIT. // This file is meant to be re-generated in place and/or deleted at any time. package factory diff --git a/db/factory/h3_aggregation.bob.go b/db/factory/h3_aggregation.bob.go index 9d393e52..ea3b03db 100644 --- a/db/factory/h3_aggregation.bob.go +++ b/db/factory/h3_aggregation.bob.go @@ -1,4 +1,4 @@ -// Code generated by BobGen psql v0.0.4-0.20251216163753-8e325b7c773a+dirty. DO NOT EDIT. +// Code generated by BobGen psql v0.0.4-0.20260105020634-53e08d840e47+dirty. DO NOT EDIT. // This file is meant to be re-generated in place and/or deleted at any time. package factory diff --git a/db/factory/note_audio.bob.go b/db/factory/note_audio.bob.go index a9470ebf..e3a9620a 100644 --- a/db/factory/note_audio.bob.go +++ b/db/factory/note_audio.bob.go @@ -1,4 +1,4 @@ -// Code generated by BobGen psql v0.0.4-0.20251216163753-8e325b7c773a+dirty. DO NOT EDIT. +// Code generated by BobGen psql v0.0.4-0.20260105020634-53e08d840e47+dirty. DO NOT EDIT. // This file is meant to be re-generated in place and/or deleted at any time. package factory diff --git a/db/factory/note_audio_breadcrumb.bob.go b/db/factory/note_audio_breadcrumb.bob.go index 0a5ec1b4..3abf3eef 100644 --- a/db/factory/note_audio_breadcrumb.bob.go +++ b/db/factory/note_audio_breadcrumb.bob.go @@ -1,4 +1,4 @@ -// Code generated by BobGen psql v0.0.4-0.20251216163753-8e325b7c773a+dirty. DO NOT EDIT. +// Code generated by BobGen psql v0.0.4-0.20260105020634-53e08d840e47+dirty. DO NOT EDIT. // This file is meant to be re-generated in place and/or deleted at any time. package factory diff --git a/db/factory/note_audio_data.bob.go b/db/factory/note_audio_data.bob.go index 25b6da17..cd6578e6 100644 --- a/db/factory/note_audio_data.bob.go +++ b/db/factory/note_audio_data.bob.go @@ -1,4 +1,4 @@ -// Code generated by BobGen psql v0.0.4-0.20251216163753-8e325b7c773a+dirty. DO NOT EDIT. +// Code generated by BobGen psql v0.0.4-0.20260105020634-53e08d840e47+dirty. DO NOT EDIT. // This file is meant to be re-generated in place and/or deleted at any time. package factory diff --git a/db/factory/note_image.bob.go b/db/factory/note_image.bob.go index 0ee3a490..a79ca241 100644 --- a/db/factory/note_image.bob.go +++ b/db/factory/note_image.bob.go @@ -1,4 +1,4 @@ -// Code generated by BobGen psql v0.0.4-0.20251216163753-8e325b7c773a+dirty. DO NOT EDIT. +// Code generated by BobGen psql v0.0.4-0.20260105020634-53e08d840e47+dirty. DO NOT EDIT. // This file is meant to be re-generated in place and/or deleted at any time. package factory diff --git a/db/factory/note_image_breadcrumb.bob.go b/db/factory/note_image_breadcrumb.bob.go index d0b08ee4..ed0ae5e7 100644 --- a/db/factory/note_image_breadcrumb.bob.go +++ b/db/factory/note_image_breadcrumb.bob.go @@ -1,4 +1,4 @@ -// Code generated by BobGen psql v0.0.4-0.20251216163753-8e325b7c773a+dirty. DO NOT EDIT. +// Code generated by BobGen psql v0.0.4-0.20260105020634-53e08d840e47+dirty. DO NOT EDIT. // This file is meant to be re-generated in place and/or deleted at any time. package factory diff --git a/db/factory/note_image_data.bob.go b/db/factory/note_image_data.bob.go index 1625c4f8..3b79cc04 100644 --- a/db/factory/note_image_data.bob.go +++ b/db/factory/note_image_data.bob.go @@ -1,4 +1,4 @@ -// Code generated by BobGen psql v0.0.4-0.20251216163753-8e325b7c773a+dirty. DO NOT EDIT. +// Code generated by BobGen psql v0.0.4-0.20260105020634-53e08d840e47+dirty. DO NOT EDIT. // This file is meant to be re-generated in place and/or deleted at any time. package factory diff --git a/db/factory/notification.bob.go b/db/factory/notification.bob.go index ca760e02..42b1912e 100644 --- a/db/factory/notification.bob.go +++ b/db/factory/notification.bob.go @@ -1,4 +1,4 @@ -// Code generated by BobGen psql v0.0.4-0.20251216163753-8e325b7c773a+dirty. DO NOT EDIT. +// Code generated by BobGen psql v0.0.4-0.20260105020634-53e08d840e47+dirty. DO NOT EDIT. // This file is meant to be re-generated in place and/or deleted at any time. package factory diff --git a/db/factory/oauth_token.bob.go b/db/factory/oauth_token.bob.go index 146a303c..fbe69c7a 100644 --- a/db/factory/oauth_token.bob.go +++ b/db/factory/oauth_token.bob.go @@ -1,4 +1,4 @@ -// Code generated by BobGen psql v0.0.4-0.20251216163753-8e325b7c773a+dirty. DO NOT EDIT. +// Code generated by BobGen psql v0.0.4-0.20260105020634-53e08d840e47+dirty. DO NOT EDIT. // This file is meant to be re-generated in place and/or deleted at any time. package factory diff --git a/db/factory/organization.bob.go b/db/factory/organization.bob.go index 989b76f0..4bf9527f 100644 --- a/db/factory/organization.bob.go +++ b/db/factory/organization.bob.go @@ -1,4 +1,4 @@ -// Code generated by BobGen psql v0.0.4-0.20251216163753-8e325b7c773a+dirty. DO NOT EDIT. +// Code generated by BobGen psql v0.0.4-0.20260105020634-53e08d840e47+dirty. DO NOT EDIT. // This file is meant to be re-generated in place and/or deleted at any time. package factory diff --git a/db/factory/raster_columns.bob.go b/db/factory/raster_columns.bob.go index 86893474..ca6ca8d8 100644 --- a/db/factory/raster_columns.bob.go +++ b/db/factory/raster_columns.bob.go @@ -1,4 +1,4 @@ -// Code generated by BobGen psql v0.0.4-0.20251216163753-8e325b7c773a+dirty. DO NOT EDIT. +// Code generated by BobGen psql v0.0.4-0.20260105020634-53e08d840e47+dirty. DO NOT EDIT. // This file is meant to be re-generated in place and/or deleted at any time. package factory diff --git a/db/factory/raster_overviews.bob.go b/db/factory/raster_overviews.bob.go index dd69a1c2..ba9c8a89 100644 --- a/db/factory/raster_overviews.bob.go +++ b/db/factory/raster_overviews.bob.go @@ -1,4 +1,4 @@ -// Code generated by BobGen psql v0.0.4-0.20251216163753-8e325b7c773a+dirty. DO NOT EDIT. +// Code generated by BobGen psql v0.0.4-0.20260105020634-53e08d840e47+dirty. DO NOT EDIT. // This file is meant to be re-generated in place and/or deleted at any time. package factory diff --git a/db/factory/sessions.bob.go b/db/factory/sessions.bob.go index c46fe717..d5293505 100644 --- a/db/factory/sessions.bob.go +++ b/db/factory/sessions.bob.go @@ -1,4 +1,4 @@ -// Code generated by BobGen psql v0.0.4-0.20251216163753-8e325b7c773a+dirty. DO NOT EDIT. +// Code generated by BobGen psql v0.0.4-0.20260105020634-53e08d840e47+dirty. DO NOT EDIT. // This file is meant to be re-generated in place and/or deleted at any time. package factory diff --git a/db/factory/spatial_ref_sys.bob.go b/db/factory/spatial_ref_sys.bob.go index 1a7e8a71..448a30ff 100644 --- a/db/factory/spatial_ref_sys.bob.go +++ b/db/factory/spatial_ref_sys.bob.go @@ -1,4 +1,4 @@ -// Code generated by BobGen psql v0.0.4-0.20251216163753-8e325b7c773a+dirty. DO NOT EDIT. +// Code generated by BobGen psql v0.0.4-0.20260105020634-53e08d840e47+dirty. DO NOT EDIT. // This file is meant to be re-generated in place and/or deleted at any time. package factory diff --git a/db/factory/user_.bob.go b/db/factory/user_.bob.go index 6984bb9e..1662c011 100644 --- a/db/factory/user_.bob.go +++ b/db/factory/user_.bob.go @@ -1,4 +1,4 @@ -// Code generated by BobGen psql v0.0.4-0.20251216163753-8e325b7c773a+dirty. DO NOT EDIT. +// Code generated by BobGen psql v0.0.4-0.20260105020634-53e08d840e47+dirty. DO NOT EDIT. // This file is meant to be re-generated in place and/or deleted at any time. package factory diff --git a/db/models/bob_joins.bob.go b/db/models/bob_joins.bob.go index 9eef4569..59b0879e 100644 --- a/db/models/bob_joins.bob.go +++ b/db/models/bob_joins.bob.go @@ -1,4 +1,4 @@ -// Code generated by BobGen psql v0.0.4-0.20251216163753-8e325b7c773a+dirty. DO NOT EDIT. +// Code generated by BobGen psql v0.0.4-0.20260105020634-53e08d840e47+dirty. DO NOT EDIT. // This file is meant to be re-generated in place and/or deleted at any time. package models diff --git a/db/models/bob_loaders.bob.go b/db/models/bob_loaders.bob.go index 173d4a96..eaeee752 100644 --- a/db/models/bob_loaders.bob.go +++ b/db/models/bob_loaders.bob.go @@ -1,4 +1,4 @@ -// Code generated by BobGen psql v0.0.4-0.20251216163753-8e325b7c773a+dirty. DO NOT EDIT. +// Code generated by BobGen psql v0.0.4-0.20260105020634-53e08d840e47+dirty. DO NOT EDIT. // This file is meant to be re-generated in place and/or deleted at any time. package models diff --git a/db/models/bob_types.bob_test.go b/db/models/bob_types.bob_test.go index 6ac1e790..44172283 100644 --- a/db/models/bob_types.bob_test.go +++ b/db/models/bob_types.bob_test.go @@ -1,4 +1,4 @@ -// Code generated by BobGen psql v0.0.4-0.20251216163753-8e325b7c773a+dirty. DO NOT EDIT. +// Code generated by BobGen psql v0.0.4-0.20260105020634-53e08d840e47+dirty. DO NOT EDIT. // This file is meant to be re-generated in place and/or deleted at any time. package models diff --git a/db/models/bob_where.bob.go b/db/models/bob_where.bob.go index 454d2d3e..3f81d91a 100644 --- a/db/models/bob_where.bob.go +++ b/db/models/bob_where.bob.go @@ -1,4 +1,4 @@ -// Code generated by BobGen psql v0.0.4-0.20251216163753-8e325b7c773a+dirty. DO NOT EDIT. +// Code generated by BobGen psql v0.0.4-0.20260105020634-53e08d840e47+dirty. DO NOT EDIT. // This file is meant to be re-generated in place and/or deleted at any time. package models diff --git a/db/models/fieldseeker.containerrelate.bob.go b/db/models/fieldseeker.containerrelate.bob.go index db65c3da..a389eab6 100644 --- a/db/models/fieldseeker.containerrelate.bob.go +++ b/db/models/fieldseeker.containerrelate.bob.go @@ -1,4 +1,4 @@ -// Code generated by BobGen psql v0.0.4-0.20251216163753-8e325b7c773a+dirty. DO NOT EDIT. +// Code generated by BobGen psql v0.0.4-0.20260105020634-53e08d840e47+dirty. DO NOT EDIT. // This file is meant to be re-generated in place and/or deleted at any time. package models @@ -31,7 +31,7 @@ import ( type FieldseekerContainerrelate struct { Objectid int64 `db:"objectid,pk" ` // Original attribute from ArcGIS API is GlobalID - Globalid null.Val[uuid.UUID] `db:"globalid" ` + Globalid uuid.UUID `db:"globalid" ` // Original attribute from ArcGIS API is created_user CreatedUser null.Val[string] `db:"created_user" ` // Original attribute from ArcGIS API is created_date @@ -142,7 +142,7 @@ func (fieldseekerContainerrelateColumns) AliasedAs(alias string) fieldseekerCont // Generated columns are not included type FieldseekerContainerrelateSetter struct { Objectid omit.Val[int64] `db:"objectid,pk" ` - Globalid omitnull.Val[uuid.UUID] `db:"globalid" ` + Globalid omit.Val[uuid.UUID] `db:"globalid" ` CreatedUser omitnull.Val[string] `db:"created_user" ` CreatedDate omitnull.Val[time.Time] `db:"created_date" ` LastEditedUser omitnull.Val[string] `db:"last_edited_user" ` @@ -166,7 +166,7 @@ func (s FieldseekerContainerrelateSetter) SetColumns() []string { if s.Objectid.IsValue() { vals = append(vals, "objectid") } - if !s.Globalid.IsUnset() { + if s.Globalid.IsValue() { vals = append(vals, "globalid") } if !s.CreatedUser.IsUnset() { @@ -224,8 +224,8 @@ func (s FieldseekerContainerrelateSetter) Overwrite(t *FieldseekerContainerrelat if s.Objectid.IsValue() { t.Objectid = s.Objectid.MustGet() } - if !s.Globalid.IsUnset() { - t.Globalid = s.Globalid.MustGetNull() + if s.Globalid.IsValue() { + t.Globalid = s.Globalid.MustGet() } if !s.CreatedUser.IsUnset() { t.CreatedUser = s.CreatedUser.MustGetNull() @@ -290,8 +290,8 @@ func (s *FieldseekerContainerrelateSetter) Apply(q *dialect.InsertQuery) { vals[0] = psql.Raw("DEFAULT") } - if !s.Globalid.IsUnset() { - vals[1] = psql.Arg(s.Globalid.MustGetNull()) + if s.Globalid.IsValue() { + vals[1] = psql.Arg(s.Globalid.MustGet()) } else { vals[1] = psql.Raw("DEFAULT") } @@ -410,7 +410,7 @@ func (s FieldseekerContainerrelateSetter) Expressions(prefix ...string) []bob.Ex }}) } - if !s.Globalid.IsUnset() { + if s.Globalid.IsValue() { exprs = append(exprs, expr.Join{Sep: " = ", Exprs: []bob.Expression{ psql.Quote(append(prefix, "globalid")...), psql.Arg(s.Globalid), @@ -839,7 +839,7 @@ func (fieldseekerContainerrelate0 *FieldseekerContainerrelate) AttachOrganizatio type fieldseekerContainerrelateWhere[Q psql.Filterable] struct { Objectid psql.WhereMod[Q, int64] - Globalid psql.WhereNullMod[Q, uuid.UUID] + Globalid psql.WhereMod[Q, uuid.UUID] CreatedUser psql.WhereNullMod[Q, string] CreatedDate psql.WhereNullMod[Q, time.Time] LastEditedUser psql.WhereNullMod[Q, string] @@ -865,7 +865,7 @@ func (fieldseekerContainerrelateWhere[Q]) AliasedAs(alias string) fieldseekerCon func buildFieldseekerContainerrelateWhere[Q psql.Filterable](cols fieldseekerContainerrelateColumns) fieldseekerContainerrelateWhere[Q] { return fieldseekerContainerrelateWhere[Q]{ Objectid: psql.Where[Q, int64](cols.Objectid), - Globalid: psql.WhereNull[Q, uuid.UUID](cols.Globalid), + Globalid: psql.Where[Q, uuid.UUID](cols.Globalid), CreatedUser: psql.WhereNull[Q, string](cols.CreatedUser), CreatedDate: psql.WhereNull[Q, time.Time](cols.CreatedDate), LastEditedUser: psql.WhereNull[Q, string](cols.LastEditedUser), diff --git a/db/models/fieldseeker.fieldscoutinglog.bob.go b/db/models/fieldseeker.fieldscoutinglog.bob.go index d0b8b358..70fe9565 100644 --- a/db/models/fieldseeker.fieldscoutinglog.bob.go +++ b/db/models/fieldseeker.fieldscoutinglog.bob.go @@ -1,4 +1,4 @@ -// Code generated by BobGen psql v0.0.4-0.20251216163753-8e325b7c773a+dirty. DO NOT EDIT. +// Code generated by BobGen psql v0.0.4-0.20260105020634-53e08d840e47+dirty. DO NOT EDIT. // This file is meant to be re-generated in place and/or deleted at any time. package models @@ -33,7 +33,7 @@ type FieldseekerFieldscoutinglog struct { // Original attribute from ArcGIS API is STATUS Status null.Val[int16] `db:"status" ` // Original attribute from ArcGIS API is GlobalID - Globalid null.Val[uuid.UUID] `db:"globalid" ` + Globalid uuid.UUID `db:"globalid" ` // Original attribute from ArcGIS API is created_user CreatedUser null.Val[string] `db:"created_user" ` // Original attribute from ArcGIS API is created_date @@ -131,7 +131,7 @@ func (fieldseekerFieldscoutinglogColumns) AliasedAs(alias string) fieldseekerFie type FieldseekerFieldscoutinglogSetter struct { Objectid omit.Val[int64] `db:"objectid,pk" ` Status omitnull.Val[int16] `db:"status" ` - Globalid omitnull.Val[uuid.UUID] `db:"globalid" ` + Globalid omit.Val[uuid.UUID] `db:"globalid" ` CreatedUser omitnull.Val[string] `db:"created_user" ` CreatedDate omitnull.Val[time.Time] `db:"created_date" ` LastEditedUser omitnull.Val[string] `db:"last_edited_user" ` @@ -154,7 +154,7 @@ func (s FieldseekerFieldscoutinglogSetter) SetColumns() []string { if !s.Status.IsUnset() { vals = append(vals, "status") } - if !s.Globalid.IsUnset() { + if s.Globalid.IsValue() { vals = append(vals, "globalid") } if !s.CreatedUser.IsUnset() { @@ -203,8 +203,8 @@ func (s FieldseekerFieldscoutinglogSetter) Overwrite(t *FieldseekerFieldscouting if !s.Status.IsUnset() { t.Status = s.Status.MustGetNull() } - if !s.Globalid.IsUnset() { - t.Globalid = s.Globalid.MustGetNull() + if s.Globalid.IsValue() { + t.Globalid = s.Globalid.MustGet() } if !s.CreatedUser.IsUnset() { t.CreatedUser = s.CreatedUser.MustGetNull() @@ -263,8 +263,8 @@ func (s *FieldseekerFieldscoutinglogSetter) Apply(q *dialect.InsertQuery) { vals[1] = psql.Raw("DEFAULT") } - if !s.Globalid.IsUnset() { - vals[2] = psql.Arg(s.Globalid.MustGetNull()) + if s.Globalid.IsValue() { + vals[2] = psql.Arg(s.Globalid.MustGet()) } else { vals[2] = psql.Raw("DEFAULT") } @@ -366,7 +366,7 @@ func (s FieldseekerFieldscoutinglogSetter) Expressions(prefix ...string) []bob.E }}) } - if !s.Globalid.IsUnset() { + if s.Globalid.IsValue() { exprs = append(exprs, expr.Join{Sep: " = ", Exprs: []bob.Expression{ psql.Quote(append(prefix, "globalid")...), psql.Arg(s.Globalid), @@ -768,7 +768,7 @@ func (fieldseekerFieldscoutinglog0 *FieldseekerFieldscoutinglog) AttachOrganizat type fieldseekerFieldscoutinglogWhere[Q psql.Filterable] struct { Objectid psql.WhereMod[Q, int64] Status psql.WhereNullMod[Q, int16] - Globalid psql.WhereNullMod[Q, uuid.UUID] + Globalid psql.WhereMod[Q, uuid.UUID] CreatedUser psql.WhereNullMod[Q, string] CreatedDate psql.WhereNullMod[Q, time.Time] LastEditedUser psql.WhereNullMod[Q, string] @@ -791,7 +791,7 @@ func buildFieldseekerFieldscoutinglogWhere[Q psql.Filterable](cols fieldseekerFi return fieldseekerFieldscoutinglogWhere[Q]{ Objectid: psql.Where[Q, int64](cols.Objectid), Status: psql.WhereNull[Q, int16](cols.Status), - Globalid: psql.WhereNull[Q, uuid.UUID](cols.Globalid), + Globalid: psql.Where[Q, uuid.UUID](cols.Globalid), CreatedUser: psql.WhereNull[Q, string](cols.CreatedUser), CreatedDate: psql.WhereNull[Q, time.Time](cols.CreatedDate), LastEditedUser: psql.WhereNull[Q, string](cols.LastEditedUser), diff --git a/db/models/fieldseeker.habitatrelate.bob.go b/db/models/fieldseeker.habitatrelate.bob.go index c972fab2..ed70d92f 100644 --- a/db/models/fieldseeker.habitatrelate.bob.go +++ b/db/models/fieldseeker.habitatrelate.bob.go @@ -1,4 +1,4 @@ -// Code generated by BobGen psql v0.0.4-0.20251216163753-8e325b7c773a+dirty. DO NOT EDIT. +// Code generated by BobGen psql v0.0.4-0.20260105020634-53e08d840e47+dirty. DO NOT EDIT. // This file is meant to be re-generated in place and/or deleted at any time. package models @@ -33,7 +33,7 @@ type FieldseekerHabitatrelate struct { // Original attribute from ArcGIS API is FOREIGN_ID ForeignID null.Val[uuid.UUID] `db:"foreign_id" ` // Original attribute from ArcGIS API is GlobalID - Globalid null.Val[uuid.UUID] `db:"globalid" ` + Globalid uuid.UUID `db:"globalid" ` // Original attribute from ArcGIS API is created_user CreatedUser null.Val[string] `db:"created_user" ` // Original attribute from ArcGIS API is created_date @@ -135,7 +135,7 @@ func (fieldseekerHabitatrelateColumns) AliasedAs(alias string) fieldseekerHabita type FieldseekerHabitatrelateSetter struct { Objectid omit.Val[int64] `db:"objectid,pk" ` ForeignID omitnull.Val[uuid.UUID] `db:"foreign_id" ` - Globalid omitnull.Val[uuid.UUID] `db:"globalid" ` + Globalid omit.Val[uuid.UUID] `db:"globalid" ` CreatedUser omitnull.Val[string] `db:"created_user" ` CreatedDate omitnull.Val[time.Time] `db:"created_date" ` LastEditedUser omitnull.Val[string] `db:"last_edited_user" ` @@ -159,7 +159,7 @@ func (s FieldseekerHabitatrelateSetter) SetColumns() []string { if !s.ForeignID.IsUnset() { vals = append(vals, "foreign_id") } - if !s.Globalid.IsUnset() { + if s.Globalid.IsValue() { vals = append(vals, "globalid") } if !s.CreatedUser.IsUnset() { @@ -211,8 +211,8 @@ func (s FieldseekerHabitatrelateSetter) Overwrite(t *FieldseekerHabitatrelate) { if !s.ForeignID.IsUnset() { t.ForeignID = s.ForeignID.MustGetNull() } - if !s.Globalid.IsUnset() { - t.Globalid = s.Globalid.MustGetNull() + if s.Globalid.IsValue() { + t.Globalid = s.Globalid.MustGet() } if !s.CreatedUser.IsUnset() { t.CreatedUser = s.CreatedUser.MustGetNull() @@ -274,8 +274,8 @@ func (s *FieldseekerHabitatrelateSetter) Apply(q *dialect.InsertQuery) { vals[1] = psql.Raw("DEFAULT") } - if !s.Globalid.IsUnset() { - vals[2] = psql.Arg(s.Globalid.MustGetNull()) + if s.Globalid.IsValue() { + vals[2] = psql.Arg(s.Globalid.MustGet()) } else { vals[2] = psql.Raw("DEFAULT") } @@ -383,7 +383,7 @@ func (s FieldseekerHabitatrelateSetter) Expressions(prefix ...string) []bob.Expr }}) } - if !s.Globalid.IsUnset() { + if s.Globalid.IsValue() { exprs = append(exprs, expr.Join{Sep: " = ", Exprs: []bob.Expression{ psql.Quote(append(prefix, "globalid")...), psql.Arg(s.Globalid), @@ -792,7 +792,7 @@ func (fieldseekerHabitatrelate0 *FieldseekerHabitatrelate) AttachOrganization(ct type fieldseekerHabitatrelateWhere[Q psql.Filterable] struct { Objectid psql.WhereMod[Q, int64] ForeignID psql.WhereNullMod[Q, uuid.UUID] - Globalid psql.WhereNullMod[Q, uuid.UUID] + Globalid psql.WhereMod[Q, uuid.UUID] CreatedUser psql.WhereNullMod[Q, string] CreatedDate psql.WhereNullMod[Q, time.Time] LastEditedUser psql.WhereNullMod[Q, string] @@ -816,7 +816,7 @@ func buildFieldseekerHabitatrelateWhere[Q psql.Filterable](cols fieldseekerHabit return fieldseekerHabitatrelateWhere[Q]{ Objectid: psql.Where[Q, int64](cols.Objectid), ForeignID: psql.WhereNull[Q, uuid.UUID](cols.ForeignID), - Globalid: psql.WhereNull[Q, uuid.UUID](cols.Globalid), + Globalid: psql.Where[Q, uuid.UUID](cols.Globalid), CreatedUser: psql.WhereNull[Q, string](cols.CreatedUser), CreatedDate: psql.WhereNull[Q, time.Time](cols.CreatedDate), LastEditedUser: psql.WhereNull[Q, string](cols.LastEditedUser), diff --git a/db/models/fieldseeker.inspectionsample.bob.go b/db/models/fieldseeker.inspectionsample.bob.go index 6358c928..715c0af6 100644 --- a/db/models/fieldseeker.inspectionsample.bob.go +++ b/db/models/fieldseeker.inspectionsample.bob.go @@ -1,4 +1,4 @@ -// Code generated by BobGen psql v0.0.4-0.20251216163753-8e325b7c773a+dirty. DO NOT EDIT. +// Code generated by BobGen psql v0.0.4-0.20260105020634-53e08d840e47+dirty. DO NOT EDIT. // This file is meant to be re-generated in place and/or deleted at any time. package models @@ -39,7 +39,7 @@ type FieldseekerInspectionsample struct { // Original attribute from ArcGIS API is IDBYTECH Idbytech null.Val[string] `db:"idbytech" ` // Original attribute from ArcGIS API is GlobalID - Globalid null.Val[uuid.UUID] `db:"globalid" ` + Globalid uuid.UUID `db:"globalid" ` // Original attribute from ArcGIS API is created_user CreatedUser null.Val[string] `db:"created_user" ` // Original attribute from ArcGIS API is created_date @@ -146,7 +146,7 @@ type FieldseekerInspectionsampleSetter struct { Sampleid omitnull.Val[string] `db:"sampleid" ` Processed omitnull.Val[int16] `db:"processed" ` Idbytech omitnull.Val[string] `db:"idbytech" ` - Globalid omitnull.Val[uuid.UUID] `db:"globalid" ` + Globalid omit.Val[uuid.UUID] `db:"globalid" ` CreatedUser omitnull.Val[string] `db:"created_user" ` CreatedDate omitnull.Val[time.Time] `db:"created_date" ` LastEditedUser omitnull.Val[string] `db:"last_edited_user" ` @@ -178,7 +178,7 @@ func (s FieldseekerInspectionsampleSetter) SetColumns() []string { if !s.Idbytech.IsUnset() { vals = append(vals, "idbytech") } - if !s.Globalid.IsUnset() { + if s.Globalid.IsValue() { vals = append(vals, "globalid") } if !s.CreatedUser.IsUnset() { @@ -236,8 +236,8 @@ func (s FieldseekerInspectionsampleSetter) Overwrite(t *FieldseekerInspectionsam if !s.Idbytech.IsUnset() { t.Idbytech = s.Idbytech.MustGetNull() } - if !s.Globalid.IsUnset() { - t.Globalid = s.Globalid.MustGetNull() + if s.Globalid.IsValue() { + t.Globalid = s.Globalid.MustGet() } if !s.CreatedUser.IsUnset() { t.CreatedUser = s.CreatedUser.MustGetNull() @@ -314,8 +314,8 @@ func (s *FieldseekerInspectionsampleSetter) Apply(q *dialect.InsertQuery) { vals[4] = psql.Raw("DEFAULT") } - if !s.Globalid.IsUnset() { - vals[5] = psql.Arg(s.Globalid.MustGetNull()) + if s.Globalid.IsValue() { + vals[5] = psql.Arg(s.Globalid.MustGet()) } else { vals[5] = psql.Raw("DEFAULT") } @@ -438,7 +438,7 @@ func (s FieldseekerInspectionsampleSetter) Expressions(prefix ...string) []bob.E }}) } - if !s.Globalid.IsUnset() { + if s.Globalid.IsValue() { exprs = append(exprs, expr.Join{Sep: " = ", Exprs: []bob.Expression{ psql.Quote(append(prefix, "globalid")...), psql.Arg(s.Globalid), @@ -843,7 +843,7 @@ type fieldseekerInspectionsampleWhere[Q psql.Filterable] struct { Sampleid psql.WhereNullMod[Q, string] Processed psql.WhereNullMod[Q, int16] Idbytech psql.WhereNullMod[Q, string] - Globalid psql.WhereNullMod[Q, uuid.UUID] + Globalid psql.WhereMod[Q, uuid.UUID] CreatedUser psql.WhereNullMod[Q, string] CreatedDate psql.WhereNullMod[Q, time.Time] LastEditedUser psql.WhereNullMod[Q, string] @@ -869,7 +869,7 @@ func buildFieldseekerInspectionsampleWhere[Q psql.Filterable](cols fieldseekerIn Sampleid: psql.WhereNull[Q, string](cols.Sampleid), Processed: psql.WhereNull[Q, int16](cols.Processed), Idbytech: psql.WhereNull[Q, string](cols.Idbytech), - Globalid: psql.WhereNull[Q, uuid.UUID](cols.Globalid), + Globalid: psql.Where[Q, uuid.UUID](cols.Globalid), CreatedUser: psql.WhereNull[Q, string](cols.CreatedUser), CreatedDate: psql.WhereNull[Q, time.Time](cols.CreatedDate), LastEditedUser: psql.WhereNull[Q, string](cols.LastEditedUser), diff --git a/db/models/fieldseeker.inspectionsampledetail.bob.go b/db/models/fieldseeker.inspectionsampledetail.bob.go index c6ce5421..0db5f1c8 100644 --- a/db/models/fieldseeker.inspectionsampledetail.bob.go +++ b/db/models/fieldseeker.inspectionsampledetail.bob.go @@ -1,4 +1,4 @@ -// Code generated by BobGen psql v0.0.4-0.20251216163753-8e325b7c773a+dirty. DO NOT EDIT. +// Code generated by BobGen psql v0.0.4-0.20260105020634-53e08d840e47+dirty. DO NOT EDIT. // This file is meant to be re-generated in place and/or deleted at any time. package models @@ -59,7 +59,7 @@ type FieldseekerInspectionsampledetail struct { // Original attribute from ArcGIS API is COMMENTS Comments null.Val[string] `db:"comments" ` // Original attribute from ArcGIS API is GlobalID - Globalid null.Val[uuid.UUID] `db:"globalid" ` + Globalid uuid.UUID `db:"globalid" ` // Original attribute from ArcGIS API is created_user CreatedUser null.Val[string] `db:"created_user" ` // Original attribute from ArcGIS API is created_date @@ -200,7 +200,7 @@ type FieldseekerInspectionsampledetailSetter struct { Leggcount omitnull.Val[int16] `db:"leggcount" ` Ldomstage omitnull.Val[string] `db:"ldomstage" ` Comments omitnull.Val[string] `db:"comments" ` - Globalid omitnull.Val[uuid.UUID] `db:"globalid" ` + Globalid omit.Val[uuid.UUID] `db:"globalid" ` CreatedUser omitnull.Val[string] `db:"created_user" ` CreatedDate omitnull.Val[time.Time] `db:"created_date" ` LastEditedUser omitnull.Val[string] `db:"last_edited_user" ` @@ -263,7 +263,7 @@ func (s FieldseekerInspectionsampledetailSetter) SetColumns() []string { if !s.Comments.IsUnset() { vals = append(vals, "comments") } - if !s.Globalid.IsUnset() { + if s.Globalid.IsValue() { vals = append(vals, "globalid") } if !s.CreatedUser.IsUnset() { @@ -354,8 +354,8 @@ func (s FieldseekerInspectionsampledetailSetter) Overwrite(t *FieldseekerInspect if !s.Comments.IsUnset() { t.Comments = s.Comments.MustGetNull() } - if !s.Globalid.IsUnset() { - t.Globalid = s.Globalid.MustGetNull() + if s.Globalid.IsValue() { + t.Globalid = s.Globalid.MustGet() } if !s.CreatedUser.IsUnset() { t.CreatedUser = s.CreatedUser.MustGetNull() @@ -495,8 +495,8 @@ func (s *FieldseekerInspectionsampledetailSetter) Apply(q *dialect.InsertQuery) vals[14] = psql.Raw("DEFAULT") } - if !s.Globalid.IsUnset() { - vals[15] = psql.Arg(s.Globalid.MustGetNull()) + if s.Globalid.IsValue() { + vals[15] = psql.Arg(s.Globalid.MustGet()) } else { vals[15] = psql.Raw("DEFAULT") } @@ -695,7 +695,7 @@ func (s FieldseekerInspectionsampledetailSetter) Expressions(prefix ...string) [ }}) } - if !s.Globalid.IsUnset() { + if s.Globalid.IsValue() { exprs = append(exprs, expr.Join{Sep: " = ", Exprs: []bob.Expression{ psql.Quote(append(prefix, "globalid")...), psql.Arg(s.Globalid), @@ -1117,7 +1117,7 @@ type fieldseekerInspectionsampledetailWhere[Q psql.Filterable] struct { Leggcount psql.WhereNullMod[Q, int16] Ldomstage psql.WhereNullMod[Q, string] Comments psql.WhereNullMod[Q, string] - Globalid psql.WhereNullMod[Q, uuid.UUID] + Globalid psql.WhereMod[Q, uuid.UUID] CreatedUser psql.WhereNullMod[Q, string] CreatedDate psql.WhereNullMod[Q, time.Time] LastEditedUser psql.WhereNullMod[Q, string] @@ -1154,7 +1154,7 @@ func buildFieldseekerInspectionsampledetailWhere[Q psql.Filterable](cols fieldse Leggcount: psql.WhereNull[Q, int16](cols.Leggcount), Ldomstage: psql.WhereNull[Q, string](cols.Ldomstage), Comments: psql.WhereNull[Q, string](cols.Comments), - Globalid: psql.WhereNull[Q, uuid.UUID](cols.Globalid), + Globalid: psql.Where[Q, uuid.UUID](cols.Globalid), CreatedUser: psql.WhereNull[Q, string](cols.CreatedUser), CreatedDate: psql.WhereNull[Q, time.Time](cols.CreatedDate), LastEditedUser: psql.WhereNull[Q, string](cols.LastEditedUser), diff --git a/db/models/fieldseeker.linelocation.bob.go b/db/models/fieldseeker.linelocation.bob.go index 747e14bd..57c1c18d 100644 --- a/db/models/fieldseeker.linelocation.bob.go +++ b/db/models/fieldseeker.linelocation.bob.go @@ -1,4 +1,4 @@ -// Code generated by BobGen psql v0.0.4-0.20251216163753-8e325b7c773a+dirty. DO NOT EDIT. +// Code generated by BobGen psql v0.0.4-0.20260105020634-53e08d840e47+dirty. DO NOT EDIT. // This file is meant to be re-generated in place and/or deleted at any time. package models @@ -67,7 +67,7 @@ type FieldseekerLinelocation struct { // Original attribute from ArcGIS API is LOCATIONNUMBER Locationnumber null.Val[int32] `db:"locationnumber" ` // Original attribute from ArcGIS API is GlobalID - Globalid null.Val[uuid.UUID] `db:"globalid" ` + Globalid uuid.UUID `db:"globalid" ` // Original attribute from ArcGIS API is created_user CreatedUser null.Val[string] `db:"created_user" ` // Original attribute from ArcGIS API is created_date @@ -296,7 +296,7 @@ type FieldseekerLinelocationSetter struct { WidthFT omitnull.Val[float64] `db:"width_ft" ` Zone2 omitnull.Val[string] `db:"zone2" ` Locationnumber omitnull.Val[int32] `db:"locationnumber" ` - Globalid omitnull.Val[uuid.UUID] `db:"globalid" ` + Globalid omit.Val[uuid.UUID] `db:"globalid" ` CreatedUser omitnull.Val[string] `db:"created_user" ` CreatedDate omitnull.Val[time.Time] `db:"created_date" ` LastEditedUser omitnull.Val[string] `db:"last_edited_user" ` @@ -390,7 +390,7 @@ func (s FieldseekerLinelocationSetter) SetColumns() []string { if !s.Locationnumber.IsUnset() { vals = append(vals, "locationnumber") } - if !s.Globalid.IsUnset() { + if s.Globalid.IsValue() { vals = append(vals, "globalid") } if !s.CreatedUser.IsUnset() { @@ -550,8 +550,8 @@ func (s FieldseekerLinelocationSetter) Overwrite(t *FieldseekerLinelocation) { if !s.Locationnumber.IsUnset() { t.Locationnumber = s.Locationnumber.MustGetNull() } - if !s.Globalid.IsUnset() { - t.Globalid = s.Globalid.MustGetNull() + if s.Globalid.IsValue() { + t.Globalid = s.Globalid.MustGet() } if !s.CreatedUser.IsUnset() { t.CreatedUser = s.CreatedUser.MustGetNull() @@ -772,8 +772,8 @@ func (s *FieldseekerLinelocationSetter) Apply(q *dialect.InsertQuery) { vals[18] = psql.Raw("DEFAULT") } - if !s.Globalid.IsUnset() { - vals[19] = psql.Arg(s.Globalid.MustGetNull()) + if s.Globalid.IsValue() { + vals[19] = psql.Arg(s.Globalid.MustGet()) } else { vals[19] = psql.Raw("DEFAULT") } @@ -1114,7 +1114,7 @@ func (s FieldseekerLinelocationSetter) Expressions(prefix ...string) []bob.Expre }}) } - if !s.Globalid.IsUnset() { + if s.Globalid.IsValue() { exprs = append(exprs, expr.Join{Sep: " = ", Exprs: []bob.Expression{ psql.Quote(append(prefix, "globalid")...), psql.Arg(s.Globalid), @@ -1673,7 +1673,7 @@ type fieldseekerLinelocationWhere[Q psql.Filterable] struct { WidthFT psql.WhereNullMod[Q, float64] Zone2 psql.WhereNullMod[Q, string] Locationnumber psql.WhereNullMod[Q, int32] - Globalid psql.WhereNullMod[Q, uuid.UUID] + Globalid psql.WhereMod[Q, uuid.UUID] CreatedUser psql.WhereNullMod[Q, string] CreatedDate psql.WhereNullMod[Q, time.Time] LastEditedUser psql.WhereNullMod[Q, string] @@ -1733,7 +1733,7 @@ func buildFieldseekerLinelocationWhere[Q psql.Filterable](cols fieldseekerLinelo WidthFT: psql.WhereNull[Q, float64](cols.WidthFT), Zone2: psql.WhereNull[Q, string](cols.Zone2), Locationnumber: psql.WhereNull[Q, int32](cols.Locationnumber), - Globalid: psql.WhereNull[Q, uuid.UUID](cols.Globalid), + Globalid: psql.Where[Q, uuid.UUID](cols.Globalid), CreatedUser: psql.WhereNull[Q, string](cols.CreatedUser), CreatedDate: psql.WhereNull[Q, time.Time](cols.CreatedDate), LastEditedUser: psql.WhereNull[Q, string](cols.LastEditedUser), diff --git a/db/models/fieldseeker.locationtracking.bob.go b/db/models/fieldseeker.locationtracking.bob.go index 2a99be4f..c2690cb0 100644 --- a/db/models/fieldseeker.locationtracking.bob.go +++ b/db/models/fieldseeker.locationtracking.bob.go @@ -1,4 +1,4 @@ -// Code generated by BobGen psql v0.0.4-0.20251216163753-8e325b7c773a+dirty. DO NOT EDIT. +// Code generated by BobGen psql v0.0.4-0.20260105020634-53e08d840e47+dirty. DO NOT EDIT. // This file is meant to be re-generated in place and/or deleted at any time. package models @@ -41,7 +41,7 @@ type FieldseekerLocationtracking struct { // Original attribute from ArcGIS API is last_edited_date LastEditedDate null.Val[time.Time] `db:"last_edited_date" ` // Original attribute from ArcGIS API is GlobalID - Globalid null.Val[uuid.UUID] `db:"globalid" ` + Globalid uuid.UUID `db:"globalid" ` // Original attribute from ArcGIS API is FIELDTECH Fieldtech null.Val[string] `db:"fieldtech" ` // Original attribute from ArcGIS API is CreationDate @@ -139,7 +139,7 @@ type FieldseekerLocationtrackingSetter struct { CreatedDate omitnull.Val[time.Time] `db:"created_date" ` LastEditedUser omitnull.Val[string] `db:"last_edited_user" ` LastEditedDate omitnull.Val[time.Time] `db:"last_edited_date" ` - Globalid omitnull.Val[uuid.UUID] `db:"globalid" ` + Globalid omit.Val[uuid.UUID] `db:"globalid" ` Fieldtech omitnull.Val[string] `db:"fieldtech" ` Creationdate omitnull.Val[time.Time] `db:"creationdate" ` Creator omitnull.Val[string] `db:"creator" ` @@ -171,7 +171,7 @@ func (s FieldseekerLocationtrackingSetter) SetColumns() []string { if !s.LastEditedDate.IsUnset() { vals = append(vals, "last_edited_date") } - if !s.Globalid.IsUnset() { + if s.Globalid.IsValue() { vals = append(vals, "globalid") } if !s.Fieldtech.IsUnset() { @@ -223,8 +223,8 @@ func (s FieldseekerLocationtrackingSetter) Overwrite(t *FieldseekerLocationtrack if !s.LastEditedDate.IsUnset() { t.LastEditedDate = s.LastEditedDate.MustGetNull() } - if !s.Globalid.IsUnset() { - t.Globalid = s.Globalid.MustGetNull() + if s.Globalid.IsValue() { + t.Globalid = s.Globalid.MustGet() } if !s.Fieldtech.IsUnset() { t.Fieldtech = s.Fieldtech.MustGetNull() @@ -298,8 +298,8 @@ func (s *FieldseekerLocationtrackingSetter) Apply(q *dialect.InsertQuery) { vals[5] = psql.Raw("DEFAULT") } - if !s.Globalid.IsUnset() { - vals[6] = psql.Arg(s.Globalid.MustGetNull()) + if s.Globalid.IsValue() { + vals[6] = psql.Arg(s.Globalid.MustGet()) } else { vals[6] = psql.Raw("DEFAULT") } @@ -411,7 +411,7 @@ func (s FieldseekerLocationtrackingSetter) Expressions(prefix ...string) []bob.E }}) } - if !s.Globalid.IsUnset() { + if s.Globalid.IsValue() { exprs = append(exprs, expr.Join{Sep: " = ", Exprs: []bob.Expression{ psql.Quote(append(prefix, "globalid")...), psql.Arg(s.Globalid), @@ -796,7 +796,7 @@ type fieldseekerLocationtrackingWhere[Q psql.Filterable] struct { CreatedDate psql.WhereNullMod[Q, time.Time] LastEditedUser psql.WhereNullMod[Q, string] LastEditedDate psql.WhereNullMod[Q, time.Time] - Globalid psql.WhereNullMod[Q, uuid.UUID] + Globalid psql.WhereMod[Q, uuid.UUID] Fieldtech psql.WhereNullMod[Q, string] Creationdate psql.WhereNullMod[Q, time.Time] Creator psql.WhereNullMod[Q, string] @@ -820,7 +820,7 @@ func buildFieldseekerLocationtrackingWhere[Q psql.Filterable](cols fieldseekerLo CreatedDate: psql.WhereNull[Q, time.Time](cols.CreatedDate), LastEditedUser: psql.WhereNull[Q, string](cols.LastEditedUser), LastEditedDate: psql.WhereNull[Q, time.Time](cols.LastEditedDate), - Globalid: psql.WhereNull[Q, uuid.UUID](cols.Globalid), + Globalid: psql.Where[Q, uuid.UUID](cols.Globalid), Fieldtech: psql.WhereNull[Q, string](cols.Fieldtech), Creationdate: psql.WhereNull[Q, time.Time](cols.Creationdate), Creator: psql.WhereNull[Q, string](cols.Creator), diff --git a/db/models/fieldseeker.mosquitoinspection.bob.go b/db/models/fieldseeker.mosquitoinspection.bob.go index bcd2cbd4..545af94a 100644 --- a/db/models/fieldseeker.mosquitoinspection.bob.go +++ b/db/models/fieldseeker.mosquitoinspection.bob.go @@ -1,4 +1,4 @@ -// Code generated by BobGen psql v0.0.4-0.20251216163753-8e325b7c773a+dirty. DO NOT EDIT. +// Code generated by BobGen psql v0.0.4-0.20260105020634-53e08d840e47+dirty. DO NOT EDIT. // This file is meant to be re-generated in place and/or deleted at any time. package models @@ -95,7 +95,7 @@ type FieldseekerMosquitoinspection struct { // Original attribute from ArcGIS API is FIELDSPECIES Fieldspecies null.Val[string] `db:"fieldspecies" ` // Original attribute from ArcGIS API is GlobalID - Globalid null.Val[uuid.UUID] `db:"globalid" ` + Globalid uuid.UUID `db:"globalid" ` // Original attribute from ArcGIS API is created_user CreatedUser null.Val[string] `db:"created_user" ` // Original attribute from ArcGIS API is created_date @@ -346,7 +346,7 @@ type FieldseekerMosquitoinspectionSetter struct { Cbcount omitnull.Val[int16] `db:"cbcount" ` Containercount omitnull.Val[int16] `db:"containercount" ` Fieldspecies omitnull.Val[string] `db:"fieldspecies" ` - Globalid omitnull.Val[uuid.UUID] `db:"globalid" ` + Globalid omit.Val[uuid.UUID] `db:"globalid" ` CreatedUser omitnull.Val[string] `db:"created_user" ` CreatedDate omitnull.Val[time.Time] `db:"created_date" ` LastEditedUser omitnull.Val[string] `db:"last_edited_user" ` @@ -477,7 +477,7 @@ func (s FieldseekerMosquitoinspectionSetter) SetColumns() []string { if !s.Fieldspecies.IsUnset() { vals = append(vals, "fieldspecies") } - if !s.Globalid.IsUnset() { + if s.Globalid.IsValue() { vals = append(vals, "globalid") } if !s.CreatedUser.IsUnset() { @@ -664,8 +664,8 @@ func (s FieldseekerMosquitoinspectionSetter) Overwrite(t *FieldseekerMosquitoins if !s.Fieldspecies.IsUnset() { t.Fieldspecies = s.Fieldspecies.MustGetNull() } - if !s.Globalid.IsUnset() { - t.Globalid = s.Globalid.MustGetNull() + if s.Globalid.IsValue() { + t.Globalid = s.Globalid.MustGet() } if !s.CreatedUser.IsUnset() { t.CreatedUser = s.CreatedUser.MustGetNull() @@ -955,8 +955,8 @@ func (s *FieldseekerMosquitoinspectionSetter) Apply(q *dialect.InsertQuery) { vals[32] = psql.Raw("DEFAULT") } - if !s.Globalid.IsUnset() { - vals[33] = psql.Arg(s.Globalid.MustGetNull()) + if s.Globalid.IsValue() { + vals[33] = psql.Arg(s.Globalid.MustGet()) } else { vals[33] = psql.Raw("DEFAULT") } @@ -1365,7 +1365,7 @@ func (s FieldseekerMosquitoinspectionSetter) Expressions(prefix ...string) []bob }}) } - if !s.Globalid.IsUnset() { + if s.Globalid.IsValue() { exprs = append(exprs, expr.Join{Sep: " = ", Exprs: []bob.Expression{ psql.Quote(append(prefix, "globalid")...), psql.Arg(s.Globalid), @@ -1903,7 +1903,7 @@ type fieldseekerMosquitoinspectionWhere[Q psql.Filterable] struct { Cbcount psql.WhereNullMod[Q, int16] Containercount psql.WhereNullMod[Q, int16] Fieldspecies psql.WhereNullMod[Q, string] - Globalid psql.WhereNullMod[Q, uuid.UUID] + Globalid psql.WhereMod[Q, uuid.UUID] CreatedUser psql.WhereNullMod[Q, string] CreatedDate psql.WhereNullMod[Q, time.Time] LastEditedUser psql.WhereNullMod[Q, string] @@ -1972,7 +1972,7 @@ func buildFieldseekerMosquitoinspectionWhere[Q psql.Filterable](cols fieldseeker Cbcount: psql.WhereNull[Q, int16](cols.Cbcount), Containercount: psql.WhereNull[Q, int16](cols.Containercount), Fieldspecies: psql.WhereNull[Q, string](cols.Fieldspecies), - Globalid: psql.WhereNull[Q, uuid.UUID](cols.Globalid), + Globalid: psql.Where[Q, uuid.UUID](cols.Globalid), CreatedUser: psql.WhereNull[Q, string](cols.CreatedUser), CreatedDate: psql.WhereNull[Q, time.Time](cols.CreatedDate), LastEditedUser: psql.WhereNull[Q, string](cols.LastEditedUser), diff --git a/db/models/fieldseeker.pointlocation.bob.go b/db/models/fieldseeker.pointlocation.bob.go index 9dedd1f7..a7e44da4 100644 --- a/db/models/fieldseeker.pointlocation.bob.go +++ b/db/models/fieldseeker.pointlocation.bob.go @@ -1,4 +1,4 @@ -// Code generated by BobGen psql v0.0.4-0.20251216163753-8e325b7c773a+dirty. DO NOT EDIT. +// Code generated by BobGen psql v0.0.4-0.20260105020634-53e08d840e47+dirty. DO NOT EDIT. // This file is meant to be re-generated in place and/or deleted at any time. package models @@ -61,7 +61,7 @@ type FieldseekerPointlocation struct { // Original attribute from ArcGIS API is LOCATIONNUMBER Locationnumber null.Val[int32] `db:"locationnumber" ` // Original attribute from ArcGIS API is GlobalID - Globalid null.Val[uuid.UUID] `db:"globalid" ` + Globalid uuid.UUID `db:"globalid" ` // Original attribute from ArcGIS API is STYPE Stype null.Val[string] `db:"stype" ` // Original attribute from ArcGIS API is LASTINSPECTDATE @@ -277,7 +277,7 @@ type FieldseekerPointlocationSetter struct { Larvinspectinterval omitnull.Val[int16] `db:"larvinspectinterval" ` Zone2 omitnull.Val[string] `db:"zone2" ` Locationnumber omitnull.Val[int32] `db:"locationnumber" ` - Globalid omitnull.Val[uuid.UUID] `db:"globalid" ` + Globalid omit.Val[uuid.UUID] `db:"globalid" ` Stype omitnull.Val[string] `db:"stype" ` Lastinspectdate omitnull.Val[time.Time] `db:"lastinspectdate" ` Lastinspectbreeding omitnull.Val[string] `db:"lastinspectbreeding" ` @@ -361,7 +361,7 @@ func (s FieldseekerPointlocationSetter) SetColumns() []string { if !s.Locationnumber.IsUnset() { vals = append(vals, "locationnumber") } - if !s.Globalid.IsUnset() { + if s.Globalid.IsValue() { vals = append(vals, "globalid") } if !s.Stype.IsUnset() { @@ -509,8 +509,8 @@ func (s FieldseekerPointlocationSetter) Overwrite(t *FieldseekerPointlocation) { if !s.Locationnumber.IsUnset() { t.Locationnumber = s.Locationnumber.MustGetNull() } - if !s.Globalid.IsUnset() { - t.Globalid = s.Globalid.MustGetNull() + if s.Globalid.IsValue() { + t.Globalid = s.Globalid.MustGet() } if !s.Stype.IsUnset() { t.Stype = s.Stype.MustGetNull() @@ -710,8 +710,8 @@ func (s *FieldseekerPointlocationSetter) Apply(q *dialect.InsertQuery) { vals[15] = psql.Raw("DEFAULT") } - if !s.Globalid.IsUnset() { - vals[16] = psql.Arg(s.Globalid.MustGetNull()) + if s.Globalid.IsValue() { + vals[16] = psql.Arg(s.Globalid.MustGet()) } else { vals[16] = psql.Raw("DEFAULT") } @@ -1025,7 +1025,7 @@ func (s FieldseekerPointlocationSetter) Expressions(prefix ...string) []bob.Expr }}) } - if !s.Globalid.IsUnset() { + if s.Globalid.IsValue() { exprs = append(exprs, expr.Join{Sep: " = ", Exprs: []bob.Expression{ psql.Quote(append(prefix, "globalid")...), psql.Arg(s.Globalid), @@ -1574,7 +1574,7 @@ type fieldseekerPointlocationWhere[Q psql.Filterable] struct { Larvinspectinterval psql.WhereNullMod[Q, int16] Zone2 psql.WhereNullMod[Q, string] Locationnumber psql.WhereNullMod[Q, int32] - Globalid psql.WhereNullMod[Q, uuid.UUID] + Globalid psql.WhereMod[Q, uuid.UUID] Stype psql.WhereNullMod[Q, string] Lastinspectdate psql.WhereNullMod[Q, time.Time] Lastinspectbreeding psql.WhereNullMod[Q, string] @@ -1630,7 +1630,7 @@ func buildFieldseekerPointlocationWhere[Q psql.Filterable](cols fieldseekerPoint Larvinspectinterval: psql.WhereNull[Q, int16](cols.Larvinspectinterval), Zone2: psql.WhereNull[Q, string](cols.Zone2), Locationnumber: psql.WhereNull[Q, int32](cols.Locationnumber), - Globalid: psql.WhereNull[Q, uuid.UUID](cols.Globalid), + Globalid: psql.Where[Q, uuid.UUID](cols.Globalid), Stype: psql.WhereNull[Q, string](cols.Stype), Lastinspectdate: psql.WhereNull[Q, time.Time](cols.Lastinspectdate), Lastinspectbreeding: psql.WhereNull[Q, string](cols.Lastinspectbreeding), diff --git a/db/models/fieldseeker.polygonlocation.bob.go b/db/models/fieldseeker.polygonlocation.bob.go index 84c3b5ef..5f19de16 100644 --- a/db/models/fieldseeker.polygonlocation.bob.go +++ b/db/models/fieldseeker.polygonlocation.bob.go @@ -1,4 +1,4 @@ -// Code generated by BobGen psql v0.0.4-0.20251216163753-8e325b7c773a+dirty. DO NOT EDIT. +// Code generated by BobGen psql v0.0.4-0.20260105020634-53e08d840e47+dirty. DO NOT EDIT. // This file is meant to be re-generated in place and/or deleted at any time. package models @@ -63,7 +63,7 @@ type FieldseekerPolygonlocation struct { // Original attribute from ArcGIS API is LOCATIONNUMBER Locationnumber null.Val[int32] `db:"locationnumber" ` // Original attribute from ArcGIS API is GlobalID - Globalid null.Val[uuid.UUID] `db:"globalid" ` + Globalid uuid.UUID `db:"globalid" ` // Original attribute from ArcGIS API is LASTINSPECTDATE Lastinspectdate null.Val[time.Time] `db:"lastinspectdate" ` // Original attribute from ArcGIS API is LASTINSPECTBREEDING @@ -270,7 +270,7 @@ type FieldseekerPolygonlocationSetter struct { Larvinspectinterval omitnull.Val[int16] `db:"larvinspectinterval" ` Zone2 omitnull.Val[string] `db:"zone2" ` Locationnumber omitnull.Val[int32] `db:"locationnumber" ` - Globalid omitnull.Val[uuid.UUID] `db:"globalid" ` + Globalid omit.Val[uuid.UUID] `db:"globalid" ` Lastinspectdate omitnull.Val[time.Time] `db:"lastinspectdate" ` Lastinspectbreeding omitnull.Val[string] `db:"lastinspectbreeding" ` Lastinspectavglarvae omitnull.Val[float64] `db:"lastinspectavglarvae" ` @@ -354,7 +354,7 @@ func (s FieldseekerPolygonlocationSetter) SetColumns() []string { if !s.Locationnumber.IsUnset() { vals = append(vals, "locationnumber") } - if !s.Globalid.IsUnset() { + if s.Globalid.IsValue() { vals = append(vals, "globalid") } if !s.Lastinspectdate.IsUnset() { @@ -496,8 +496,8 @@ func (s FieldseekerPolygonlocationSetter) Overwrite(t *FieldseekerPolygonlocatio if !s.Locationnumber.IsUnset() { t.Locationnumber = s.Locationnumber.MustGetNull() } - if !s.Globalid.IsUnset() { - t.Globalid = s.Globalid.MustGetNull() + if s.Globalid.IsValue() { + t.Globalid = s.Globalid.MustGet() } if !s.Lastinspectdate.IsUnset() { t.Lastinspectdate = s.Lastinspectdate.MustGetNull() @@ -694,8 +694,8 @@ func (s *FieldseekerPolygonlocationSetter) Apply(q *dialect.InsertQuery) { vals[16] = psql.Raw("DEFAULT") } - if !s.Globalid.IsUnset() { - vals[17] = psql.Arg(s.Globalid.MustGetNull()) + if s.Globalid.IsValue() { + vals[17] = psql.Arg(s.Globalid.MustGet()) } else { vals[17] = psql.Raw("DEFAULT") } @@ -998,7 +998,7 @@ func (s FieldseekerPolygonlocationSetter) Expressions(prefix ...string) []bob.Ex }}) } - if !s.Globalid.IsUnset() { + if s.Globalid.IsValue() { exprs = append(exprs, expr.Join{Sep: " = ", Exprs: []bob.Expression{ psql.Quote(append(prefix, "globalid")...), psql.Arg(s.Globalid), @@ -1527,7 +1527,7 @@ type fieldseekerPolygonlocationWhere[Q psql.Filterable] struct { Larvinspectinterval psql.WhereNullMod[Q, int16] Zone2 psql.WhereNullMod[Q, string] Locationnumber psql.WhereNullMod[Q, int32] - Globalid psql.WhereNullMod[Q, uuid.UUID] + Globalid psql.WhereMod[Q, uuid.UUID] Lastinspectdate psql.WhereNullMod[Q, time.Time] Lastinspectbreeding psql.WhereNullMod[Q, string] Lastinspectavglarvae psql.WhereNullMod[Q, float64] @@ -1581,7 +1581,7 @@ func buildFieldseekerPolygonlocationWhere[Q psql.Filterable](cols fieldseekerPol Larvinspectinterval: psql.WhereNull[Q, int16](cols.Larvinspectinterval), Zone2: psql.WhereNull[Q, string](cols.Zone2), Locationnumber: psql.WhereNull[Q, int32](cols.Locationnumber), - Globalid: psql.WhereNull[Q, uuid.UUID](cols.Globalid), + Globalid: psql.Where[Q, uuid.UUID](cols.Globalid), Lastinspectdate: psql.WhereNull[Q, time.Time](cols.Lastinspectdate), Lastinspectbreeding: psql.WhereNull[Q, string](cols.Lastinspectbreeding), Lastinspectavglarvae: psql.WhereNull[Q, float64](cols.Lastinspectavglarvae), diff --git a/db/models/fieldseeker.pool.bob.go b/db/models/fieldseeker.pool.bob.go index 62bfe1c6..a20eea7d 100644 --- a/db/models/fieldseeker.pool.bob.go +++ b/db/models/fieldseeker.pool.bob.go @@ -1,4 +1,4 @@ -// Code generated by BobGen psql v0.0.4-0.20251216163753-8e325b7c773a+dirty. DO NOT EDIT. +// Code generated by BobGen psql v0.0.4-0.20260105020634-53e08d840e47+dirty. DO NOT EDIT. // This file is meant to be re-generated in place and/or deleted at any time. package models @@ -55,7 +55,7 @@ type FieldseekerPool struct { // Original attribute from ArcGIS API is DISEASEPOS Diseasepos null.Val[string] `db:"diseasepos" ` // Original attribute from ArcGIS API is GlobalID - Globalid null.Val[uuid.UUID] `db:"globalid" ` + Globalid uuid.UUID `db:"globalid" ` // Original attribute from ArcGIS API is created_user CreatedUser null.Val[string] `db:"created_user" ` // Original attribute from ArcGIS API is created_date @@ -210,7 +210,7 @@ type FieldseekerPoolSetter struct { Testmethod omitnull.Val[string] `db:"testmethod" ` Diseasetested omitnull.Val[string] `db:"diseasetested" ` Diseasepos omitnull.Val[string] `db:"diseasepos" ` - Globalid omitnull.Val[uuid.UUID] `db:"globalid" ` + Globalid omit.Val[uuid.UUID] `db:"globalid" ` CreatedUser omitnull.Val[string] `db:"created_user" ` CreatedDate omitnull.Val[time.Time] `db:"created_date" ` LastEditedUser omitnull.Val[string] `db:"last_edited_user" ` @@ -272,7 +272,7 @@ func (s FieldseekerPoolSetter) SetColumns() []string { if !s.Diseasepos.IsUnset() { vals = append(vals, "diseasepos") } - if !s.Globalid.IsUnset() { + if s.Globalid.IsValue() { vals = append(vals, "globalid") } if !s.CreatedUser.IsUnset() { @@ -372,8 +372,8 @@ func (s FieldseekerPoolSetter) Overwrite(t *FieldseekerPool) { if !s.Diseasepos.IsUnset() { t.Diseasepos = s.Diseasepos.MustGetNull() } - if !s.Globalid.IsUnset() { - t.Globalid = s.Globalid.MustGetNull() + if s.Globalid.IsValue() { + t.Globalid = s.Globalid.MustGet() } if !s.CreatedUser.IsUnset() { t.CreatedUser = s.CreatedUser.MustGetNull() @@ -516,8 +516,8 @@ func (s *FieldseekerPoolSetter) Apply(q *dialect.InsertQuery) { vals[12] = psql.Raw("DEFAULT") } - if !s.Globalid.IsUnset() { - vals[13] = psql.Arg(s.Globalid.MustGetNull()) + if s.Globalid.IsValue() { + vals[13] = psql.Arg(s.Globalid.MustGet()) } else { vals[13] = psql.Raw("DEFAULT") } @@ -732,7 +732,7 @@ func (s FieldseekerPoolSetter) Expressions(prefix ...string) []bob.Expression { }}) } - if !s.Globalid.IsUnset() { + if s.Globalid.IsValue() { exprs = append(exprs, expr.Join{Sep: " = ", Exprs: []bob.Expression{ psql.Quote(append(prefix, "globalid")...), psql.Arg(s.Globalid), @@ -1187,7 +1187,7 @@ type fieldseekerPoolWhere[Q psql.Filterable] struct { Testmethod psql.WhereNullMod[Q, string] Diseasetested psql.WhereNullMod[Q, string] Diseasepos psql.WhereNullMod[Q, string] - Globalid psql.WhereNullMod[Q, uuid.UUID] + Globalid psql.WhereMod[Q, uuid.UUID] CreatedUser psql.WhereNullMod[Q, string] CreatedDate psql.WhereNullMod[Q, time.Time] LastEditedUser psql.WhereNullMod[Q, string] @@ -1227,7 +1227,7 @@ func buildFieldseekerPoolWhere[Q psql.Filterable](cols fieldseekerPoolColumns) f Testmethod: psql.WhereNull[Q, string](cols.Testmethod), Diseasetested: psql.WhereNull[Q, string](cols.Diseasetested), Diseasepos: psql.WhereNull[Q, string](cols.Diseasepos), - Globalid: psql.WhereNull[Q, uuid.UUID](cols.Globalid), + Globalid: psql.Where[Q, uuid.UUID](cols.Globalid), CreatedUser: psql.WhereNull[Q, string](cols.CreatedUser), CreatedDate: psql.WhereNull[Q, time.Time](cols.CreatedDate), LastEditedUser: psql.WhereNull[Q, string](cols.LastEditedUser), diff --git a/db/models/fieldseeker.pooldetail.bob.go b/db/models/fieldseeker.pooldetail.bob.go index 40d1f496..af00b0e7 100644 --- a/db/models/fieldseeker.pooldetail.bob.go +++ b/db/models/fieldseeker.pooldetail.bob.go @@ -1,4 +1,4 @@ -// Code generated by BobGen psql v0.0.4-0.20251216163753-8e325b7c773a+dirty. DO NOT EDIT. +// Code generated by BobGen psql v0.0.4-0.20260105020634-53e08d840e47+dirty. DO NOT EDIT. // This file is meant to be re-generated in place and/or deleted at any time. package models @@ -39,7 +39,7 @@ type FieldseekerPooldetail struct { // Original attribute from ArcGIS API is FEMALES Females null.Val[int16] `db:"females" ` // Original attribute from ArcGIS API is GlobalID - Globalid null.Val[uuid.UUID] `db:"globalid" ` + Globalid uuid.UUID `db:"globalid" ` // Original attribute from ArcGIS API is created_user CreatedUser null.Val[string] `db:"created_user" ` // Original attribute from ArcGIS API is created_date @@ -146,7 +146,7 @@ type FieldseekerPooldetailSetter struct { PoolID omitnull.Val[uuid.UUID] `db:"pool_id" ` Species omitnull.Val[string] `db:"species" ` Females omitnull.Val[int16] `db:"females" ` - Globalid omitnull.Val[uuid.UUID] `db:"globalid" ` + Globalid omit.Val[uuid.UUID] `db:"globalid" ` CreatedUser omitnull.Val[string] `db:"created_user" ` CreatedDate omitnull.Val[time.Time] `db:"created_date" ` LastEditedUser omitnull.Val[string] `db:"last_edited_user" ` @@ -178,7 +178,7 @@ func (s FieldseekerPooldetailSetter) SetColumns() []string { if !s.Females.IsUnset() { vals = append(vals, "females") } - if !s.Globalid.IsUnset() { + if s.Globalid.IsValue() { vals = append(vals, "globalid") } if !s.CreatedUser.IsUnset() { @@ -236,8 +236,8 @@ func (s FieldseekerPooldetailSetter) Overwrite(t *FieldseekerPooldetail) { if !s.Females.IsUnset() { t.Females = s.Females.MustGetNull() } - if !s.Globalid.IsUnset() { - t.Globalid = s.Globalid.MustGetNull() + if s.Globalid.IsValue() { + t.Globalid = s.Globalid.MustGet() } if !s.CreatedUser.IsUnset() { t.CreatedUser = s.CreatedUser.MustGetNull() @@ -314,8 +314,8 @@ func (s *FieldseekerPooldetailSetter) Apply(q *dialect.InsertQuery) { vals[4] = psql.Raw("DEFAULT") } - if !s.Globalid.IsUnset() { - vals[5] = psql.Arg(s.Globalid.MustGetNull()) + if s.Globalid.IsValue() { + vals[5] = psql.Arg(s.Globalid.MustGet()) } else { vals[5] = psql.Raw("DEFAULT") } @@ -438,7 +438,7 @@ func (s FieldseekerPooldetailSetter) Expressions(prefix ...string) []bob.Express }}) } - if !s.Globalid.IsUnset() { + if s.Globalid.IsValue() { exprs = append(exprs, expr.Join{Sep: " = ", Exprs: []bob.Expression{ psql.Quote(append(prefix, "globalid")...), psql.Arg(s.Globalid), @@ -843,7 +843,7 @@ type fieldseekerPooldetailWhere[Q psql.Filterable] struct { PoolID psql.WhereNullMod[Q, uuid.UUID] Species psql.WhereNullMod[Q, string] Females psql.WhereNullMod[Q, int16] - Globalid psql.WhereNullMod[Q, uuid.UUID] + Globalid psql.WhereMod[Q, uuid.UUID] CreatedUser psql.WhereNullMod[Q, string] CreatedDate psql.WhereNullMod[Q, time.Time] LastEditedUser psql.WhereNullMod[Q, string] @@ -869,7 +869,7 @@ func buildFieldseekerPooldetailWhere[Q psql.Filterable](cols fieldseekerPooldeta PoolID: psql.WhereNull[Q, uuid.UUID](cols.PoolID), Species: psql.WhereNull[Q, string](cols.Species), Females: psql.WhereNull[Q, int16](cols.Females), - Globalid: psql.WhereNull[Q, uuid.UUID](cols.Globalid), + Globalid: psql.Where[Q, uuid.UUID](cols.Globalid), CreatedUser: psql.WhereNull[Q, string](cols.CreatedUser), CreatedDate: psql.WhereNull[Q, time.Time](cols.CreatedDate), LastEditedUser: psql.WhereNull[Q, string](cols.LastEditedUser), diff --git a/db/models/fieldseeker.proposedtreatmentarea.bob.go b/db/models/fieldseeker.proposedtreatmentarea.bob.go index 68b4e1ef..b648dd0b 100644 --- a/db/models/fieldseeker.proposedtreatmentarea.bob.go +++ b/db/models/fieldseeker.proposedtreatmentarea.bob.go @@ -1,4 +1,4 @@ -// Code generated by BobGen psql v0.0.4-0.20251216163753-8e325b7c773a+dirty. DO NOT EDIT. +// Code generated by BobGen psql v0.0.4-0.20260105020634-53e08d840e47+dirty. DO NOT EDIT. // This file is meant to be re-generated in place and/or deleted at any time. package models @@ -57,7 +57,7 @@ type FieldseekerProposedtreatmentarea struct { // Original attribute from ArcGIS API is ACRES Acres null.Val[float64] `db:"acres" ` // Original attribute from ArcGIS API is GlobalID - Globalid null.Val[uuid.UUID] `db:"globalid" ` + Globalid uuid.UUID `db:"globalid" ` // Original attribute from ArcGIS API is EXPORTED Exported null.Val[int16] `db:"exported" ` // Original attribute from ArcGIS API is TARGETPRODUCT @@ -231,7 +231,7 @@ type FieldseekerProposedtreatmentareaSetter struct { Issprayroute omitnull.Val[int16] `db:"issprayroute" ` Name omitnull.Val[string] `db:"name" ` Acres omitnull.Val[float64] `db:"acres" ` - Globalid omitnull.Val[uuid.UUID] `db:"globalid" ` + Globalid omit.Val[uuid.UUID] `db:"globalid" ` Exported omitnull.Val[int16] `db:"exported" ` Targetproduct omitnull.Val[string] `db:"targetproduct" ` Targetapprate omitnull.Val[float64] `db:"targetapprate" ` @@ -300,7 +300,7 @@ func (s FieldseekerProposedtreatmentareaSetter) SetColumns() []string { if !s.Acres.IsUnset() { vals = append(vals, "acres") } - if !s.Globalid.IsUnset() { + if s.Globalid.IsValue() { vals = append(vals, "globalid") } if !s.Exported.IsUnset() { @@ -415,8 +415,8 @@ func (s FieldseekerProposedtreatmentareaSetter) Overwrite(t *FieldseekerProposed if !s.Acres.IsUnset() { t.Acres = s.Acres.MustGetNull() } - if !s.Globalid.IsUnset() { - t.Globalid = s.Globalid.MustGetNull() + if s.Globalid.IsValue() { + t.Globalid = s.Globalid.MustGet() } if !s.Exported.IsUnset() { t.Exported = s.Exported.MustGetNull() @@ -577,8 +577,8 @@ func (s *FieldseekerProposedtreatmentareaSetter) Apply(q *dialect.InsertQuery) { vals[13] = psql.Raw("DEFAULT") } - if !s.Globalid.IsUnset() { - vals[14] = psql.Arg(s.Globalid.MustGetNull()) + if s.Globalid.IsValue() { + vals[14] = psql.Arg(s.Globalid.MustGet()) } else { vals[14] = psql.Raw("DEFAULT") } @@ -824,7 +824,7 @@ func (s FieldseekerProposedtreatmentareaSetter) Expressions(prefix ...string) [] }}) } - if !s.Globalid.IsUnset() { + if s.Globalid.IsValue() { exprs = append(exprs, expr.Join{Sep: " = ", Exprs: []bob.Expression{ psql.Quote(append(prefix, "globalid")...), psql.Arg(s.Globalid), @@ -1308,7 +1308,7 @@ type fieldseekerProposedtreatmentareaWhere[Q psql.Filterable] struct { Issprayroute psql.WhereNullMod[Q, int16] Name psql.WhereNullMod[Q, string] Acres psql.WhereNullMod[Q, float64] - Globalid psql.WhereNullMod[Q, uuid.UUID] + Globalid psql.WhereMod[Q, uuid.UUID] Exported psql.WhereNullMod[Q, int16] Targetproduct psql.WhereNullMod[Q, string] Targetapprate psql.WhereNullMod[Q, float64] @@ -1353,7 +1353,7 @@ func buildFieldseekerProposedtreatmentareaWhere[Q psql.Filterable](cols fieldsee Issprayroute: psql.WhereNull[Q, int16](cols.Issprayroute), Name: psql.WhereNull[Q, string](cols.Name), Acres: psql.WhereNull[Q, float64](cols.Acres), - Globalid: psql.WhereNull[Q, uuid.UUID](cols.Globalid), + Globalid: psql.Where[Q, uuid.UUID](cols.Globalid), Exported: psql.WhereNull[Q, int16](cols.Exported), Targetproduct: psql.WhereNull[Q, string](cols.Targetproduct), Targetapprate: psql.WhereNull[Q, float64](cols.Targetapprate), diff --git a/db/models/fieldseeker.qamosquitoinspection.bob.go b/db/models/fieldseeker.qamosquitoinspection.bob.go index 1473b03e..ed3e844f 100644 --- a/db/models/fieldseeker.qamosquitoinspection.bob.go +++ b/db/models/fieldseeker.qamosquitoinspection.bob.go @@ -1,4 +1,4 @@ -// Code generated by BobGen psql v0.0.4-0.20251216163753-8e325b7c773a+dirty. DO NOT EDIT. +// Code generated by BobGen psql v0.0.4-0.20260105020634-53e08d840e47+dirty. DO NOT EDIT. // This file is meant to be re-generated in place and/or deleted at any time. package models @@ -43,7 +43,7 @@ type FieldseekerQamosquitoinspection struct { // Original attribute from ArcGIS API is RAINGAUGE Raingauge null.Val[float64] `db:"raingauge" ` // Original attribute from ArcGIS API is GlobalID - Globalid null.Val[uuid.UUID] `db:"globalid" ` + Globalid uuid.UUID `db:"globalid" ` // Original attribute from ArcGIS API is STARTDATETIME Startdatetime null.Val[time.Time] `db:"startdatetime" ` // Original attribute from ArcGIS API is ENDDATETIME @@ -340,7 +340,7 @@ type FieldseekerQamosquitoinspectionSetter struct { Avetemp omitnull.Val[float64] `db:"avetemp" ` Windspeed omitnull.Val[float64] `db:"windspeed" ` Raingauge omitnull.Val[float64] `db:"raingauge" ` - Globalid omitnull.Val[uuid.UUID] `db:"globalid" ` + Globalid omit.Val[uuid.UUID] `db:"globalid" ` Startdatetime omitnull.Val[time.Time] `db:"startdatetime" ` Enddatetime omitnull.Val[time.Time] `db:"enddatetime" ` Winddir omitnull.Val[string] `db:"winddir" ` @@ -424,7 +424,7 @@ func (s FieldseekerQamosquitoinspectionSetter) SetColumns() []string { if !s.Raingauge.IsUnset() { vals = append(vals, "raingauge") } - if !s.Globalid.IsUnset() { + if s.Globalid.IsValue() { vals = append(vals, "globalid") } if !s.Startdatetime.IsUnset() { @@ -626,8 +626,8 @@ func (s FieldseekerQamosquitoinspectionSetter) Overwrite(t *FieldseekerQamosquit if !s.Raingauge.IsUnset() { t.Raingauge = s.Raingauge.MustGetNull() } - if !s.Globalid.IsUnset() { - t.Globalid = s.Globalid.MustGetNull() + if s.Globalid.IsValue() { + t.Globalid = s.Globalid.MustGet() } if !s.Startdatetime.IsUnset() { t.Startdatetime = s.Startdatetime.MustGetNull() @@ -854,8 +854,8 @@ func (s *FieldseekerQamosquitoinspectionSetter) Apply(q *dialect.InsertQuery) { vals[6] = psql.Raw("DEFAULT") } - if !s.Globalid.IsUnset() { - vals[7] = psql.Arg(s.Globalid.MustGetNull()) + if s.Globalid.IsValue() { + vals[7] = psql.Arg(s.Globalid.MustGet()) } else { vals[7] = psql.Raw("DEFAULT") } @@ -1268,7 +1268,7 @@ func (s FieldseekerQamosquitoinspectionSetter) Expressions(prefix ...string) []b }}) } - if !s.Globalid.IsUnset() { + if s.Globalid.IsValue() { exprs = append(exprs, expr.Join{Sep: " = ", Exprs: []bob.Expression{ psql.Quote(append(prefix, "globalid")...), psql.Arg(s.Globalid), @@ -1997,7 +1997,7 @@ type fieldseekerQamosquitoinspectionWhere[Q psql.Filterable] struct { Avetemp psql.WhereNullMod[Q, float64] Windspeed psql.WhereNullMod[Q, float64] Raingauge psql.WhereNullMod[Q, float64] - Globalid psql.WhereNullMod[Q, uuid.UUID] + Globalid psql.WhereMod[Q, uuid.UUID] Startdatetime psql.WhereNullMod[Q, time.Time] Enddatetime psql.WhereNullMod[Q, time.Time] Winddir psql.WhereNullMod[Q, string] @@ -2071,7 +2071,7 @@ func buildFieldseekerQamosquitoinspectionWhere[Q psql.Filterable](cols fieldseek Avetemp: psql.WhereNull[Q, float64](cols.Avetemp), Windspeed: psql.WhereNull[Q, float64](cols.Windspeed), Raingauge: psql.WhereNull[Q, float64](cols.Raingauge), - Globalid: psql.WhereNull[Q, uuid.UUID](cols.Globalid), + Globalid: psql.Where[Q, uuid.UUID](cols.Globalid), Startdatetime: psql.WhereNull[Q, time.Time](cols.Startdatetime), Enddatetime: psql.WhereNull[Q, time.Time](cols.Enddatetime), Winddir: psql.WhereNull[Q, string](cols.Winddir), diff --git a/db/models/fieldseeker.rodentlocation.bob.go b/db/models/fieldseeker.rodentlocation.bob.go index 913e45d7..e59d0b5c 100644 --- a/db/models/fieldseeker.rodentlocation.bob.go +++ b/db/models/fieldseeker.rodentlocation.bob.go @@ -1,4 +1,4 @@ -// Code generated by BobGen psql v0.0.4-0.20251216163753-8e325b7c773a+dirty. DO NOT EDIT. +// Code generated by BobGen psql v0.0.4-0.20260105020634-53e08d840e47+dirty. DO NOT EDIT. // This file is meant to be re-generated in place and/or deleted at any time. package models @@ -69,7 +69,7 @@ type FieldseekerRodentlocation struct { // Original attribute from ArcGIS API is LASTINSPECTRODENTEVIDENCE Lastinspectrodentevidence null.Val[string] `db:"lastinspectrodentevidence" ` // Original attribute from ArcGIS API is GlobalID - Globalid null.Val[uuid.UUID] `db:"globalid" ` + Globalid uuid.UUID `db:"globalid" ` // Original attribute from ArcGIS API is created_user CreatedUser null.Val[string] `db:"created_user" ` // Original attribute from ArcGIS API is created_date @@ -225,7 +225,7 @@ type FieldseekerRodentlocationSetter struct { Lastinspectaction omitnull.Val[string] `db:"lastinspectaction" ` Lastinspectconditions omitnull.Val[string] `db:"lastinspectconditions" ` Lastinspectrodentevidence omitnull.Val[string] `db:"lastinspectrodentevidence" ` - Globalid omitnull.Val[uuid.UUID] `db:"globalid" ` + Globalid omit.Val[uuid.UUID] `db:"globalid" ` CreatedUser omitnull.Val[string] `db:"created_user" ` CreatedDate omitnull.Val[time.Time] `db:"created_date" ` LastEditedUser omitnull.Val[string] `db:"last_edited_user" ` @@ -303,7 +303,7 @@ func (s FieldseekerRodentlocationSetter) SetColumns() []string { if !s.Lastinspectrodentevidence.IsUnset() { vals = append(vals, "lastinspectrodentevidence") } - if !s.Globalid.IsUnset() { + if s.Globalid.IsValue() { vals = append(vals, "globalid") } if !s.CreatedUser.IsUnset() { @@ -409,8 +409,8 @@ func (s FieldseekerRodentlocationSetter) Overwrite(t *FieldseekerRodentlocation) if !s.Lastinspectrodentevidence.IsUnset() { t.Lastinspectrodentevidence = s.Lastinspectrodentevidence.MustGetNull() } - if !s.Globalid.IsUnset() { - t.Globalid = s.Globalid.MustGetNull() + if s.Globalid.IsValue() { + t.Globalid = s.Globalid.MustGet() } if !s.CreatedUser.IsUnset() { t.CreatedUser = s.CreatedUser.MustGetNull() @@ -580,8 +580,8 @@ func (s *FieldseekerRodentlocationSetter) Apply(q *dialect.InsertQuery) { vals[19] = psql.Raw("DEFAULT") } - if !s.Globalid.IsUnset() { - vals[20] = psql.Arg(s.Globalid.MustGetNull()) + if s.Globalid.IsValue() { + vals[20] = psql.Arg(s.Globalid.MustGet()) } else { vals[20] = psql.Raw("DEFAULT") } @@ -815,7 +815,7 @@ func (s FieldseekerRodentlocationSetter) Expressions(prefix ...string) []bob.Exp }}) } - if !s.Globalid.IsUnset() { + if s.Globalid.IsValue() { exprs = append(exprs, expr.Join{Sep: " = ", Exprs: []bob.Expression{ psql.Quote(append(prefix, "globalid")...), psql.Arg(s.Globalid), @@ -1242,7 +1242,7 @@ type fieldseekerRodentlocationWhere[Q psql.Filterable] struct { Lastinspectaction psql.WhereNullMod[Q, string] Lastinspectconditions psql.WhereNullMod[Q, string] Lastinspectrodentevidence psql.WhereNullMod[Q, string] - Globalid psql.WhereNullMod[Q, uuid.UUID] + Globalid psql.WhereMod[Q, uuid.UUID] CreatedUser psql.WhereNullMod[Q, string] CreatedDate psql.WhereNullMod[Q, time.Time] LastEditedUser psql.WhereNullMod[Q, string] @@ -1284,7 +1284,7 @@ func buildFieldseekerRodentlocationWhere[Q psql.Filterable](cols fieldseekerRode Lastinspectaction: psql.WhereNull[Q, string](cols.Lastinspectaction), Lastinspectconditions: psql.WhereNull[Q, string](cols.Lastinspectconditions), Lastinspectrodentevidence: psql.WhereNull[Q, string](cols.Lastinspectrodentevidence), - Globalid: psql.WhereNull[Q, uuid.UUID](cols.Globalid), + Globalid: psql.Where[Q, uuid.UUID](cols.Globalid), CreatedUser: psql.WhereNull[Q, string](cols.CreatedUser), CreatedDate: psql.WhereNull[Q, time.Time](cols.CreatedDate), LastEditedUser: psql.WhereNull[Q, string](cols.LastEditedUser), diff --git a/db/models/fieldseeker.samplecollection.bob.go b/db/models/fieldseeker.samplecollection.bob.go index 2ee1a92f..63e45804 100644 --- a/db/models/fieldseeker.samplecollection.bob.go +++ b/db/models/fieldseeker.samplecollection.bob.go @@ -1,4 +1,4 @@ -// Code generated by BobGen psql v0.0.4-0.20251216163753-8e325b7c773a+dirty. DO NOT EDIT. +// Code generated by BobGen psql v0.0.4-0.20260105020634-53e08d840e47+dirty. DO NOT EDIT. // This file is meant to be re-generated in place and/or deleted at any time. package models @@ -91,7 +91,7 @@ type FieldseekerSamplecollection struct { // Original attribute from ArcGIS API is ZONE2 Zone2 null.Val[string] `db:"zone2" ` // Original attribute from ArcGIS API is GlobalID - Globalid null.Val[uuid.UUID] `db:"globalid" ` + Globalid uuid.UUID `db:"globalid" ` // Original attribute from ArcGIS API is created_user CreatedUser null.Val[string] `db:"created_user" ` // Original attribute from ArcGIS API is created_date @@ -300,7 +300,7 @@ type FieldseekerSamplecollectionSetter struct { Zone omitnull.Val[string] `db:"zone" ` Recordstatus omitnull.Val[int16] `db:"recordstatus" ` Zone2 omitnull.Val[string] `db:"zone2" ` - Globalid omitnull.Val[uuid.UUID] `db:"globalid" ` + Globalid omit.Val[uuid.UUID] `db:"globalid" ` CreatedUser omitnull.Val[string] `db:"created_user" ` CreatedDate omitnull.Val[time.Time] `db:"created_date" ` LastEditedUser omitnull.Val[string] `db:"last_edited_user" ` @@ -416,7 +416,7 @@ func (s FieldseekerSamplecollectionSetter) SetColumns() []string { if !s.Zone2.IsUnset() { vals = append(vals, "zone2") } - if !s.Globalid.IsUnset() { + if s.Globalid.IsValue() { vals = append(vals, "globalid") } if !s.CreatedUser.IsUnset() { @@ -570,8 +570,8 @@ func (s FieldseekerSamplecollectionSetter) Overwrite(t *FieldseekerSamplecollect if !s.Zone2.IsUnset() { t.Zone2 = s.Zone2.MustGetNull() } - if !s.Globalid.IsUnset() { - t.Globalid = s.Globalid.MustGetNull() + if s.Globalid.IsValue() { + t.Globalid = s.Globalid.MustGet() } if !s.CreatedUser.IsUnset() { t.CreatedUser = s.CreatedUser.MustGetNull() @@ -822,8 +822,8 @@ func (s *FieldseekerSamplecollectionSetter) Apply(q *dialect.InsertQuery) { vals[30] = psql.Raw("DEFAULT") } - if !s.Globalid.IsUnset() { - vals[31] = psql.Arg(s.Globalid.MustGetNull()) + if s.Globalid.IsValue() { + vals[31] = psql.Arg(s.Globalid.MustGet()) } else { vals[31] = psql.Raw("DEFAULT") } @@ -1164,7 +1164,7 @@ func (s FieldseekerSamplecollectionSetter) Expressions(prefix ...string) []bob.E }}) } - if !s.Globalid.IsUnset() { + if s.Globalid.IsValue() { exprs = append(exprs, expr.Join{Sep: " = ", Exprs: []bob.Expression{ psql.Quote(append(prefix, "globalid")...), psql.Arg(s.Globalid), @@ -1637,7 +1637,7 @@ type fieldseekerSamplecollectionWhere[Q psql.Filterable] struct { Zone psql.WhereNullMod[Q, string] Recordstatus psql.WhereNullMod[Q, int16] Zone2 psql.WhereNullMod[Q, string] - Globalid psql.WhereNullMod[Q, uuid.UUID] + Globalid psql.WhereMod[Q, uuid.UUID] CreatedUser psql.WhereNullMod[Q, string] CreatedDate psql.WhereNullMod[Q, time.Time] LastEditedUser psql.WhereNullMod[Q, string] @@ -1695,7 +1695,7 @@ func buildFieldseekerSamplecollectionWhere[Q psql.Filterable](cols fieldseekerSa Zone: psql.WhereNull[Q, string](cols.Zone), Recordstatus: psql.WhereNull[Q, int16](cols.Recordstatus), Zone2: psql.WhereNull[Q, string](cols.Zone2), - Globalid: psql.WhereNull[Q, uuid.UUID](cols.Globalid), + Globalid: psql.Where[Q, uuid.UUID](cols.Globalid), CreatedUser: psql.WhereNull[Q, string](cols.CreatedUser), CreatedDate: psql.WhereNull[Q, time.Time](cols.CreatedDate), LastEditedUser: psql.WhereNull[Q, string](cols.LastEditedUser), diff --git a/db/models/fieldseeker.samplelocation.bob.go b/db/models/fieldseeker.samplelocation.bob.go index b9cef04e..3513d3ed 100644 --- a/db/models/fieldseeker.samplelocation.bob.go +++ b/db/models/fieldseeker.samplelocation.bob.go @@ -1,4 +1,4 @@ -// Code generated by BobGen psql v0.0.4-0.20251216163753-8e325b7c773a+dirty. DO NOT EDIT. +// Code generated by BobGen psql v0.0.4-0.20260105020634-53e08d840e47+dirty. DO NOT EDIT. // This file is meant to be re-generated in place and/or deleted at any time. package models @@ -57,7 +57,7 @@ type FieldseekerSamplelocation struct { // Original attribute from ArcGIS API is LOCATIONNUMBER Locationnumber null.Val[int32] `db:"locationnumber" ` // Original attribute from ArcGIS API is GlobalID - Globalid null.Val[uuid.UUID] `db:"globalid" ` + Globalid uuid.UUID `db:"globalid" ` // Original attribute from ArcGIS API is created_user CreatedUser null.Val[string] `db:"created_user" ` // Original attribute from ArcGIS API is created_date @@ -195,7 +195,7 @@ type FieldseekerSamplelocationSetter struct { Nextactiondatescheduled omitnull.Val[time.Time] `db:"nextactiondatescheduled" ` Zone2 omitnull.Val[string] `db:"zone2" ` Locationnumber omitnull.Val[int32] `db:"locationnumber" ` - Globalid omitnull.Val[uuid.UUID] `db:"globalid" ` + Globalid omit.Val[uuid.UUID] `db:"globalid" ` CreatedUser omitnull.Val[string] `db:"created_user" ` CreatedDate omitnull.Val[time.Time] `db:"created_date" ` LastEditedUser omitnull.Val[string] `db:"last_edited_user" ` @@ -255,7 +255,7 @@ func (s FieldseekerSamplelocationSetter) SetColumns() []string { if !s.Locationnumber.IsUnset() { vals = append(vals, "locationnumber") } - if !s.Globalid.IsUnset() { + if s.Globalid.IsValue() { vals = append(vals, "globalid") } if !s.CreatedUser.IsUnset() { @@ -343,8 +343,8 @@ func (s FieldseekerSamplelocationSetter) Overwrite(t *FieldseekerSamplelocation) if !s.Locationnumber.IsUnset() { t.Locationnumber = s.Locationnumber.MustGetNull() } - if !s.Globalid.IsUnset() { - t.Globalid = s.Globalid.MustGetNull() + if s.Globalid.IsValue() { + t.Globalid = s.Globalid.MustGet() } if !s.CreatedUser.IsUnset() { t.CreatedUser = s.CreatedUser.MustGetNull() @@ -478,8 +478,8 @@ func (s *FieldseekerSamplelocationSetter) Apply(q *dialect.InsertQuery) { vals[13] = psql.Raw("DEFAULT") } - if !s.Globalid.IsUnset() { - vals[14] = psql.Arg(s.Globalid.MustGetNull()) + if s.Globalid.IsValue() { + vals[14] = psql.Arg(s.Globalid.MustGet()) } else { vals[14] = psql.Raw("DEFAULT") } @@ -671,7 +671,7 @@ func (s FieldseekerSamplelocationSetter) Expressions(prefix ...string) []bob.Exp }}) } - if !s.Globalid.IsUnset() { + if s.Globalid.IsValue() { exprs = append(exprs, expr.Join{Sep: " = ", Exprs: []bob.Expression{ psql.Quote(append(prefix, "globalid")...), psql.Arg(s.Globalid), @@ -1092,7 +1092,7 @@ type fieldseekerSamplelocationWhere[Q psql.Filterable] struct { Nextactiondatescheduled psql.WhereNullMod[Q, time.Time] Zone2 psql.WhereNullMod[Q, string] Locationnumber psql.WhereNullMod[Q, int32] - Globalid psql.WhereNullMod[Q, uuid.UUID] + Globalid psql.WhereMod[Q, uuid.UUID] CreatedUser psql.WhereNullMod[Q, string] CreatedDate psql.WhereNullMod[Q, time.Time] LastEditedUser psql.WhereNullMod[Q, string] @@ -1128,7 +1128,7 @@ func buildFieldseekerSamplelocationWhere[Q psql.Filterable](cols fieldseekerSamp Nextactiondatescheduled: psql.WhereNull[Q, time.Time](cols.Nextactiondatescheduled), Zone2: psql.WhereNull[Q, string](cols.Zone2), Locationnumber: psql.WhereNull[Q, int32](cols.Locationnumber), - Globalid: psql.WhereNull[Q, uuid.UUID](cols.Globalid), + Globalid: psql.Where[Q, uuid.UUID](cols.Globalid), CreatedUser: psql.WhereNull[Q, string](cols.CreatedUser), CreatedDate: psql.WhereNull[Q, time.Time](cols.CreatedDate), LastEditedUser: psql.WhereNull[Q, string](cols.LastEditedUser), diff --git a/db/models/fieldseeker.servicerequest.bob.go b/db/models/fieldseeker.servicerequest.bob.go index c3c94fae..df144bc1 100644 --- a/db/models/fieldseeker.servicerequest.bob.go +++ b/db/models/fieldseeker.servicerequest.bob.go @@ -1,4 +1,4 @@ -// Code generated by BobGen psql v0.0.4-0.20251216163753-8e325b7c773a+dirty. DO NOT EDIT. +// Code generated by BobGen psql v0.0.4-0.20260105020634-53e08d840e47+dirty. DO NOT EDIT. // This file is meant to be re-generated in place and/or deleted at any time. package models @@ -137,7 +137,7 @@ type FieldseekerServicerequest struct { // Original attribute from ArcGIS API is RECORDSTATUS Recordstatus null.Val[int16] `db:"recordstatus" ` // Original attribute from ArcGIS API is GlobalID - Globalid null.Val[uuid.UUID] `db:"globalid" ` + Globalid uuid.UUID `db:"globalid" ` // Original attribute from ArcGIS API is created_user CreatedUser null.Val[string] `db:"created_user" ` // Original attribute from ArcGIS API is created_date @@ -483,7 +483,7 @@ type FieldseekerServicerequestSetter struct { Estcompletedate omitnull.Val[time.Time] `db:"estcompletedate" ` Nextaction omitnull.Val[string] `db:"nextaction" ` Recordstatus omitnull.Val[int16] `db:"recordstatus" ` - Globalid omitnull.Val[uuid.UUID] `db:"globalid" ` + Globalid omit.Val[uuid.UUID] `db:"globalid" ` CreatedUser omitnull.Val[string] `db:"created_user" ` CreatedDate omitnull.Val[time.Time] `db:"created_date" ` LastEditedUser omitnull.Val[string] `db:"last_edited_user" ` @@ -685,7 +685,7 @@ func (s FieldseekerServicerequestSetter) SetColumns() []string { if !s.Recordstatus.IsUnset() { vals = append(vals, "recordstatus") } - if !s.Globalid.IsUnset() { + if s.Globalid.IsValue() { vals = append(vals, "globalid") } if !s.CreatedUser.IsUnset() { @@ -959,8 +959,8 @@ func (s FieldseekerServicerequestSetter) Overwrite(t *FieldseekerServicerequest) if !s.Recordstatus.IsUnset() { t.Recordstatus = s.Recordstatus.MustGetNull() } - if !s.Globalid.IsUnset() { - t.Globalid = s.Globalid.MustGetNull() + if s.Globalid.IsValue() { + t.Globalid = s.Globalid.MustGet() } if !s.CreatedUser.IsUnset() { t.CreatedUser = s.CreatedUser.MustGetNull() @@ -1400,8 +1400,8 @@ func (s *FieldseekerServicerequestSetter) Apply(q *dialect.InsertQuery) { vals[53] = psql.Raw("DEFAULT") } - if !s.Globalid.IsUnset() { - vals[54] = psql.Arg(s.Globalid.MustGetNull()) + if s.Globalid.IsValue() { + vals[54] = psql.Arg(s.Globalid.MustGet()) } else { vals[54] = psql.Raw("DEFAULT") } @@ -2005,7 +2005,7 @@ func (s FieldseekerServicerequestSetter) Expressions(prefix ...string) []bob.Exp }}) } - if !s.Globalid.IsUnset() { + if s.Globalid.IsValue() { exprs = append(exprs, expr.Join{Sep: " = ", Exprs: []bob.Expression{ psql.Quote(append(prefix, "globalid")...), psql.Arg(s.Globalid), @@ -2620,7 +2620,7 @@ type fieldseekerServicerequestWhere[Q psql.Filterable] struct { Estcompletedate psql.WhereNullMod[Q, time.Time] Nextaction psql.WhereNullMod[Q, string] Recordstatus psql.WhereNullMod[Q, int16] - Globalid psql.WhereNullMod[Q, uuid.UUID] + Globalid psql.WhereMod[Q, uuid.UUID] CreatedUser psql.WhereNullMod[Q, string] CreatedDate psql.WhereNullMod[Q, time.Time] LastEditedUser psql.WhereNullMod[Q, string] @@ -2718,7 +2718,7 @@ func buildFieldseekerServicerequestWhere[Q psql.Filterable](cols fieldseekerServ Estcompletedate: psql.WhereNull[Q, time.Time](cols.Estcompletedate), Nextaction: psql.WhereNull[Q, string](cols.Nextaction), Recordstatus: psql.WhereNull[Q, int16](cols.Recordstatus), - Globalid: psql.WhereNull[Q, uuid.UUID](cols.Globalid), + Globalid: psql.Where[Q, uuid.UUID](cols.Globalid), CreatedUser: psql.WhereNull[Q, string](cols.CreatedUser), CreatedDate: psql.WhereNull[Q, time.Time](cols.CreatedDate), LastEditedUser: psql.WhereNull[Q, string](cols.LastEditedUser), diff --git a/db/models/fieldseeker.speciesabundance.bob.go b/db/models/fieldseeker.speciesabundance.bob.go index 2147f025..327127ee 100644 --- a/db/models/fieldseeker.speciesabundance.bob.go +++ b/db/models/fieldseeker.speciesabundance.bob.go @@ -1,4 +1,4 @@ -// Code generated by BobGen psql v0.0.4-0.20251216163753-8e325b7c773a+dirty. DO NOT EDIT. +// Code generated by BobGen psql v0.0.4-0.20260105020634-53e08d840e47+dirty. DO NOT EDIT. // This file is meant to be re-generated in place and/or deleted at any time. package models @@ -49,7 +49,7 @@ type FieldseekerSpeciesabundance struct { // Original attribute from ArcGIS API is PROCESSED Processed null.Val[int16] `db:"processed" ` // Original attribute from ArcGIS API is GlobalID - Globalid null.Val[uuid.UUID] `db:"globalid" ` + Globalid uuid.UUID `db:"globalid" ` // Original attribute from ArcGIS API is created_user CreatedUser null.Val[string] `db:"created_user" ` // Original attribute from ArcGIS API is created_date @@ -211,7 +211,7 @@ type FieldseekerSpeciesabundanceSetter struct { Larvae omitnull.Val[int16] `db:"larvae" ` Poolstogen omitnull.Val[int16] `db:"poolstogen" ` Processed omitnull.Val[int16] `db:"processed" ` - Globalid omitnull.Val[uuid.UUID] `db:"globalid" ` + Globalid omit.Val[uuid.UUID] `db:"globalid" ` CreatedUser omitnull.Val[string] `db:"created_user" ` CreatedDate omitnull.Val[time.Time] `db:"created_date" ` LastEditedUser omitnull.Val[string] `db:"last_edited_user" ` @@ -268,7 +268,7 @@ func (s FieldseekerSpeciesabundanceSetter) SetColumns() []string { if !s.Processed.IsUnset() { vals = append(vals, "processed") } - if !s.Globalid.IsUnset() { + if s.Globalid.IsValue() { vals = append(vals, "globalid") } if !s.CreatedUser.IsUnset() { @@ -371,8 +371,8 @@ func (s FieldseekerSpeciesabundanceSetter) Overwrite(t *FieldseekerSpeciesabunda if !s.Processed.IsUnset() { t.Processed = s.Processed.MustGetNull() } - if !s.Globalid.IsUnset() { - t.Globalid = s.Globalid.MustGetNull() + if s.Globalid.IsValue() { + t.Globalid = s.Globalid.MustGet() } if !s.CreatedUser.IsUnset() { t.CreatedUser = s.CreatedUser.MustGetNull() @@ -509,8 +509,8 @@ func (s *FieldseekerSpeciesabundanceSetter) Apply(q *dialect.InsertQuery) { vals[9] = psql.Raw("DEFAULT") } - if !s.Globalid.IsUnset() { - vals[10] = psql.Arg(s.Globalid.MustGetNull()) + if s.Globalid.IsValue() { + vals[10] = psql.Arg(s.Globalid.MustGet()) } else { vals[10] = psql.Raw("DEFAULT") } @@ -728,7 +728,7 @@ func (s FieldseekerSpeciesabundanceSetter) Expressions(prefix ...string) []bob.E }}) } - if !s.Globalid.IsUnset() { + if s.Globalid.IsValue() { exprs = append(exprs, expr.Join{Sep: " = ", Exprs: []bob.Expression{ psql.Quote(append(prefix, "globalid")...), psql.Arg(s.Globalid), @@ -1208,7 +1208,7 @@ type fieldseekerSpeciesabundanceWhere[Q psql.Filterable] struct { Larvae psql.WhereNullMod[Q, int16] Poolstogen psql.WhereNullMod[Q, int16] Processed psql.WhereNullMod[Q, int16] - Globalid psql.WhereNullMod[Q, uuid.UUID] + Globalid psql.WhereMod[Q, uuid.UUID] CreatedUser psql.WhereNullMod[Q, string] CreatedDate psql.WhereNullMod[Q, time.Time] LastEditedUser psql.WhereNullMod[Q, string] @@ -1249,7 +1249,7 @@ func buildFieldseekerSpeciesabundanceWhere[Q psql.Filterable](cols fieldseekerSp Larvae: psql.WhereNull[Q, int16](cols.Larvae), Poolstogen: psql.WhereNull[Q, int16](cols.Poolstogen), Processed: psql.WhereNull[Q, int16](cols.Processed), - Globalid: psql.WhereNull[Q, uuid.UUID](cols.Globalid), + Globalid: psql.Where[Q, uuid.UUID](cols.Globalid), CreatedUser: psql.WhereNull[Q, string](cols.CreatedUser), CreatedDate: psql.WhereNull[Q, time.Time](cols.CreatedDate), LastEditedUser: psql.WhereNull[Q, string](cols.LastEditedUser), diff --git a/db/models/fieldseeker.stormdrain.bob.go b/db/models/fieldseeker.stormdrain.bob.go index 5f916b08..f595d02c 100644 --- a/db/models/fieldseeker.stormdrain.bob.go +++ b/db/models/fieldseeker.stormdrain.bob.go @@ -1,4 +1,4 @@ -// Code generated by BobGen psql v0.0.4-0.20251216163753-8e325b7c773a+dirty. DO NOT EDIT. +// Code generated by BobGen psql v0.0.4-0.20260105020634-53e08d840e47+dirty. DO NOT EDIT. // This file is meant to be re-generated in place and/or deleted at any time. package models @@ -39,7 +39,7 @@ type FieldseekerStormdrain struct { // Original attribute from ArcGIS API is Symbology Symbology null.Val[string] `db:"symbology" ` // Original attribute from ArcGIS API is GlobalID - Globalid null.Val[uuid.UUID] `db:"globalid" ` + Globalid uuid.UUID `db:"globalid" ` // Original attribute from ArcGIS API is created_user CreatedUser null.Val[string] `db:"created_user" ` // Original attribute from ArcGIS API is created_date @@ -166,7 +166,7 @@ type FieldseekerStormdrainSetter struct { Lasttreatdate omitnull.Val[time.Time] `db:"lasttreatdate" ` Lastaction omitnull.Val[string] `db:"lastaction" ` Symbology omitnull.Val[string] `db:"symbology" ` - Globalid omitnull.Val[uuid.UUID] `db:"globalid" ` + Globalid omit.Val[uuid.UUID] `db:"globalid" ` CreatedUser omitnull.Val[string] `db:"created_user" ` CreatedDate omitnull.Val[time.Time] `db:"created_date" ` LastEditedUser omitnull.Val[string] `db:"last_edited_user" ` @@ -203,7 +203,7 @@ func (s FieldseekerStormdrainSetter) SetColumns() []string { if !s.Symbology.IsUnset() { vals = append(vals, "symbology") } - if !s.Globalid.IsUnset() { + if s.Globalid.IsValue() { vals = append(vals, "globalid") } if !s.CreatedUser.IsUnset() { @@ -276,8 +276,8 @@ func (s FieldseekerStormdrainSetter) Overwrite(t *FieldseekerStormdrain) { if !s.Symbology.IsUnset() { t.Symbology = s.Symbology.MustGetNull() } - if !s.Globalid.IsUnset() { - t.Globalid = s.Globalid.MustGetNull() + if s.Globalid.IsValue() { + t.Globalid = s.Globalid.MustGet() } if !s.CreatedUser.IsUnset() { t.CreatedUser = s.CreatedUser.MustGetNull() @@ -369,8 +369,8 @@ func (s *FieldseekerStormdrainSetter) Apply(q *dialect.InsertQuery) { vals[4] = psql.Raw("DEFAULT") } - if !s.Globalid.IsUnset() { - vals[5] = psql.Arg(s.Globalid.MustGetNull()) + if s.Globalid.IsValue() { + vals[5] = psql.Arg(s.Globalid.MustGet()) } else { vals[5] = psql.Raw("DEFAULT") } @@ -523,7 +523,7 @@ func (s FieldseekerStormdrainSetter) Expressions(prefix ...string) []bob.Express }}) } - if !s.Globalid.IsUnset() { + if s.Globalid.IsValue() { exprs = append(exprs, expr.Join{Sep: " = ", Exprs: []bob.Expression{ psql.Quote(append(prefix, "globalid")...), psql.Arg(s.Globalid), @@ -963,7 +963,7 @@ type fieldseekerStormdrainWhere[Q psql.Filterable] struct { Lasttreatdate psql.WhereNullMod[Q, time.Time] Lastaction psql.WhereNullMod[Q, string] Symbology psql.WhereNullMod[Q, string] - Globalid psql.WhereNullMod[Q, uuid.UUID] + Globalid psql.WhereMod[Q, uuid.UUID] CreatedUser psql.WhereNullMod[Q, string] CreatedDate psql.WhereNullMod[Q, time.Time] LastEditedUser psql.WhereNullMod[Q, string] @@ -994,7 +994,7 @@ func buildFieldseekerStormdrainWhere[Q psql.Filterable](cols fieldseekerStormdra Lasttreatdate: psql.WhereNull[Q, time.Time](cols.Lasttreatdate), Lastaction: psql.WhereNull[Q, string](cols.Lastaction), Symbology: psql.WhereNull[Q, string](cols.Symbology), - Globalid: psql.WhereNull[Q, uuid.UUID](cols.Globalid), + Globalid: psql.Where[Q, uuid.UUID](cols.Globalid), CreatedUser: psql.WhereNull[Q, string](cols.CreatedUser), CreatedDate: psql.WhereNull[Q, time.Time](cols.CreatedDate), LastEditedUser: psql.WhereNull[Q, string](cols.LastEditedUser), diff --git a/db/models/fieldseeker.timecard.bob.go b/db/models/fieldseeker.timecard.bob.go index 6bb2ca91..2ba96d15 100644 --- a/db/models/fieldseeker.timecard.bob.go +++ b/db/models/fieldseeker.timecard.bob.go @@ -1,4 +1,4 @@ -// Code generated by BobGen psql v0.0.4-0.20251216163753-8e325b7c773a+dirty. DO NOT EDIT. +// Code generated by BobGen psql v0.0.4-0.20260105020634-53e08d840e47+dirty. DO NOT EDIT. // This file is meant to be re-generated in place and/or deleted at any time. package models @@ -49,7 +49,7 @@ type FieldseekerTimecard struct { // Original attribute from ArcGIS API is ZONE2 Zone2 null.Val[string] `db:"zone2" ` // Original attribute from ArcGIS API is GlobalID - Globalid null.Val[uuid.UUID] `db:"globalid" ` + Globalid uuid.UUID `db:"globalid" ` // Original attribute from ArcGIS API is created_user CreatedUser null.Val[string] `db:"created_user" ` // Original attribute from ArcGIS API is created_date @@ -207,7 +207,7 @@ type FieldseekerTimecardSetter struct { Locationname omitnull.Val[string] `db:"locationname" ` Zone omitnull.Val[string] `db:"zone" ` Zone2 omitnull.Val[string] `db:"zone2" ` - Globalid omitnull.Val[uuid.UUID] `db:"globalid" ` + Globalid omit.Val[uuid.UUID] `db:"globalid" ` CreatedUser omitnull.Val[string] `db:"created_user" ` CreatedDate omitnull.Val[time.Time] `db:"created_date" ` LastEditedUser omitnull.Val[string] `db:"last_edited_user" ` @@ -263,7 +263,7 @@ func (s FieldseekerTimecardSetter) SetColumns() []string { if !s.Zone2.IsUnset() { vals = append(vals, "zone2") } - if !s.Globalid.IsUnset() { + if s.Globalid.IsValue() { vals = append(vals, "globalid") } if !s.CreatedUser.IsUnset() { @@ -363,8 +363,8 @@ func (s FieldseekerTimecardSetter) Overwrite(t *FieldseekerTimecard) { if !s.Zone2.IsUnset() { t.Zone2 = s.Zone2.MustGetNull() } - if !s.Globalid.IsUnset() { - t.Globalid = s.Globalid.MustGetNull() + if s.Globalid.IsValue() { + t.Globalid = s.Globalid.MustGet() } if !s.CreatedUser.IsUnset() { t.CreatedUser = s.CreatedUser.MustGetNull() @@ -498,8 +498,8 @@ func (s *FieldseekerTimecardSetter) Apply(q *dialect.InsertQuery) { vals[9] = psql.Raw("DEFAULT") } - if !s.Globalid.IsUnset() { - vals[10] = psql.Arg(s.Globalid.MustGetNull()) + if s.Globalid.IsValue() { + vals[10] = psql.Arg(s.Globalid.MustGet()) } else { vals[10] = psql.Raw("DEFAULT") } @@ -711,7 +711,7 @@ func (s FieldseekerTimecardSetter) Expressions(prefix ...string) []bob.Expressio }}) } - if !s.Globalid.IsUnset() { + if s.Globalid.IsValue() { exprs = append(exprs, expr.Join{Sep: " = ", Exprs: []bob.Expression{ psql.Quote(append(prefix, "globalid")...), psql.Arg(s.Globalid), @@ -1184,7 +1184,7 @@ type fieldseekerTimecardWhere[Q psql.Filterable] struct { Locationname psql.WhereNullMod[Q, string] Zone psql.WhereNullMod[Q, string] Zone2 psql.WhereNullMod[Q, string] - Globalid psql.WhereNullMod[Q, uuid.UUID] + Globalid psql.WhereMod[Q, uuid.UUID] CreatedUser psql.WhereNullMod[Q, string] CreatedDate psql.WhereNullMod[Q, time.Time] LastEditedUser psql.WhereNullMod[Q, string] @@ -1224,7 +1224,7 @@ func buildFieldseekerTimecardWhere[Q psql.Filterable](cols fieldseekerTimecardCo Locationname: psql.WhereNull[Q, string](cols.Locationname), Zone: psql.WhereNull[Q, string](cols.Zone), Zone2: psql.WhereNull[Q, string](cols.Zone2), - Globalid: psql.WhereNull[Q, uuid.UUID](cols.Globalid), + Globalid: psql.Where[Q, uuid.UUID](cols.Globalid), CreatedUser: psql.WhereNull[Q, string](cols.CreatedUser), CreatedDate: psql.WhereNull[Q, time.Time](cols.CreatedDate), LastEditedUser: psql.WhereNull[Q, string](cols.LastEditedUser), diff --git a/db/models/fieldseeker.trapdata.bob.go b/db/models/fieldseeker.trapdata.bob.go index 542730e7..c58e7dd2 100644 --- a/db/models/fieldseeker.trapdata.bob.go +++ b/db/models/fieldseeker.trapdata.bob.go @@ -1,4 +1,4 @@ -// Code generated by BobGen psql v0.0.4-0.20251216163753-8e325b7c773a+dirty. DO NOT EDIT. +// Code generated by BobGen psql v0.0.4-0.20260105020634-53e08d840e47+dirty. DO NOT EDIT. // This file is meant to be re-generated in place and/or deleted at any time. package models @@ -67,7 +67,7 @@ type FieldseekerTrapdatum struct { // Original attribute from ArcGIS API is ZONE2 Zone2 null.Val[string] `db:"zone2" ` // Original attribute from ArcGIS API is GlobalID - Globalid null.Val[uuid.UUID] `db:"globalid" ` + Globalid uuid.UUID `db:"globalid" ` // Original attribute from ArcGIS API is created_user CreatedUser null.Val[string] `db:"created_user" ` // Original attribute from ArcGIS API is created_date @@ -272,7 +272,7 @@ type FieldseekerTrapdatumSetter struct { Trapnights omitnull.Val[int16] `db:"trapnights" ` Zone omitnull.Val[string] `db:"zone" ` Zone2 omitnull.Val[string] `db:"zone2" ` - Globalid omitnull.Val[uuid.UUID] `db:"globalid" ` + Globalid omit.Val[uuid.UUID] `db:"globalid" ` CreatedUser omitnull.Val[string] `db:"created_user" ` CreatedDate omitnull.Val[time.Time] `db:"created_date" ` LastEditedUser omitnull.Val[string] `db:"last_edited_user" ` @@ -360,7 +360,7 @@ func (s FieldseekerTrapdatumSetter) SetColumns() []string { if !s.Zone2.IsUnset() { vals = append(vals, "zone2") } - if !s.Globalid.IsUnset() { + if s.Globalid.IsValue() { vals = append(vals, "globalid") } if !s.CreatedUser.IsUnset() { @@ -502,8 +502,8 @@ func (s FieldseekerTrapdatumSetter) Overwrite(t *FieldseekerTrapdatum) { if !s.Zone2.IsUnset() { t.Zone2 = s.Zone2.MustGetNull() } - if !s.Globalid.IsUnset() { - t.Globalid = s.Globalid.MustGetNull() + if s.Globalid.IsValue() { + t.Globalid = s.Globalid.MustGet() } if !s.CreatedUser.IsUnset() { t.CreatedUser = s.CreatedUser.MustGetNull() @@ -706,8 +706,8 @@ func (s *FieldseekerTrapdatumSetter) Apply(q *dialect.InsertQuery) { vals[18] = psql.Raw("DEFAULT") } - if !s.Globalid.IsUnset() { - vals[19] = psql.Arg(s.Globalid.MustGetNull()) + if s.Globalid.IsValue() { + vals[19] = psql.Arg(s.Globalid.MustGet()) } else { vals[19] = psql.Raw("DEFAULT") } @@ -1012,7 +1012,7 @@ func (s FieldseekerTrapdatumSetter) Expressions(prefix ...string) []bob.Expressi }}) } - if !s.Globalid.IsUnset() { + if s.Globalid.IsValue() { exprs = append(exprs, expr.Join{Sep: " = ", Exprs: []bob.Expression{ psql.Quote(append(prefix, "globalid")...), psql.Arg(s.Globalid), @@ -1529,7 +1529,7 @@ type fieldseekerTrapdatumWhere[Q psql.Filterable] struct { Trapnights psql.WhereNullMod[Q, int16] Zone psql.WhereNullMod[Q, string] Zone2 psql.WhereNullMod[Q, string] - Globalid psql.WhereNullMod[Q, uuid.UUID] + Globalid psql.WhereMod[Q, uuid.UUID] CreatedUser psql.WhereNullMod[Q, string] CreatedDate psql.WhereNullMod[Q, time.Time] LastEditedUser psql.WhereNullMod[Q, string] @@ -1583,7 +1583,7 @@ func buildFieldseekerTrapdatumWhere[Q psql.Filterable](cols fieldseekerTrapdatum Trapnights: psql.WhereNull[Q, int16](cols.Trapnights), Zone: psql.WhereNull[Q, string](cols.Zone), Zone2: psql.WhereNull[Q, string](cols.Zone2), - Globalid: psql.WhereNull[Q, uuid.UUID](cols.Globalid), + Globalid: psql.Where[Q, uuid.UUID](cols.Globalid), CreatedUser: psql.WhereNull[Q, string](cols.CreatedUser), CreatedDate: psql.WhereNull[Q, time.Time](cols.CreatedDate), LastEditedUser: psql.WhereNull[Q, string](cols.LastEditedUser), diff --git a/db/models/fieldseeker.traplocation.bob.go b/db/models/fieldseeker.traplocation.bob.go index 8d8d653e..56635232 100644 --- a/db/models/fieldseeker.traplocation.bob.go +++ b/db/models/fieldseeker.traplocation.bob.go @@ -1,4 +1,4 @@ -// Code generated by BobGen psql v0.0.4-0.20251216163753-8e325b7c773a+dirty. DO NOT EDIT. +// Code generated by BobGen psql v0.0.4-0.20260105020634-53e08d840e47+dirty. DO NOT EDIT. // This file is meant to be re-generated in place and/or deleted at any time. package models @@ -57,7 +57,7 @@ type FieldseekerTraplocation struct { // Original attribute from ArcGIS API is LOCATIONNUMBER Locationnumber null.Val[int32] `db:"locationnumber" ` // Original attribute from ArcGIS API is GlobalID - Globalid null.Val[uuid.UUID] `db:"globalid" ` + Globalid uuid.UUID `db:"globalid" ` // Original attribute from ArcGIS API is created_user CreatedUser null.Val[string] `db:"created_user" ` // Original attribute from ArcGIS API is created_date @@ -219,7 +219,7 @@ type FieldseekerTraplocationSetter struct { Nextactiondatescheduled omitnull.Val[time.Time] `db:"nextactiondatescheduled" ` Zone2 omitnull.Val[string] `db:"zone2" ` Locationnumber omitnull.Val[int32] `db:"locationnumber" ` - Globalid omitnull.Val[uuid.UUID] `db:"globalid" ` + Globalid omit.Val[uuid.UUID] `db:"globalid" ` CreatedUser omitnull.Val[string] `db:"created_user" ` CreatedDate omitnull.Val[time.Time] `db:"created_date" ` LastEditedUser omitnull.Val[string] `db:"last_edited_user" ` @@ -285,7 +285,7 @@ func (s FieldseekerTraplocationSetter) SetColumns() []string { if !s.Locationnumber.IsUnset() { vals = append(vals, "locationnumber") } - if !s.Globalid.IsUnset() { + if s.Globalid.IsValue() { vals = append(vals, "globalid") } if !s.CreatedUser.IsUnset() { @@ -391,8 +391,8 @@ func (s FieldseekerTraplocationSetter) Overwrite(t *FieldseekerTraplocation) { if !s.Locationnumber.IsUnset() { t.Locationnumber = s.Locationnumber.MustGetNull() } - if !s.Globalid.IsUnset() { - t.Globalid = s.Globalid.MustGetNull() + if s.Globalid.IsValue() { + t.Globalid = s.Globalid.MustGet() } if !s.CreatedUser.IsUnset() { t.CreatedUser = s.CreatedUser.MustGetNull() @@ -544,8 +544,8 @@ func (s *FieldseekerTraplocationSetter) Apply(q *dialect.InsertQuery) { vals[13] = psql.Raw("DEFAULT") } - if !s.Globalid.IsUnset() { - vals[14] = psql.Arg(s.Globalid.MustGetNull()) + if s.Globalid.IsValue() { + vals[14] = psql.Arg(s.Globalid.MustGet()) } else { vals[14] = psql.Raw("DEFAULT") } @@ -773,7 +773,7 @@ func (s FieldseekerTraplocationSetter) Expressions(prefix ...string) []bob.Expre }}) } - if !s.Globalid.IsUnset() { + if s.Globalid.IsValue() { exprs = append(exprs, expr.Join{Sep: " = ", Exprs: []bob.Expression{ psql.Quote(append(prefix, "globalid")...), psql.Arg(s.Globalid), @@ -1236,7 +1236,7 @@ type fieldseekerTraplocationWhere[Q psql.Filterable] struct { Nextactiondatescheduled psql.WhereNullMod[Q, time.Time] Zone2 psql.WhereNullMod[Q, string] Locationnumber psql.WhereNullMod[Q, int32] - Globalid psql.WhereNullMod[Q, uuid.UUID] + Globalid psql.WhereMod[Q, uuid.UUID] CreatedUser psql.WhereNullMod[Q, string] CreatedDate psql.WhereNullMod[Q, time.Time] LastEditedUser psql.WhereNullMod[Q, string] @@ -1278,7 +1278,7 @@ func buildFieldseekerTraplocationWhere[Q psql.Filterable](cols fieldseekerTraplo Nextactiondatescheduled: psql.WhereNull[Q, time.Time](cols.Nextactiondatescheduled), Zone2: psql.WhereNull[Q, string](cols.Zone2), Locationnumber: psql.WhereNull[Q, int32](cols.Locationnumber), - Globalid: psql.WhereNull[Q, uuid.UUID](cols.Globalid), + Globalid: psql.Where[Q, uuid.UUID](cols.Globalid), CreatedUser: psql.WhereNull[Q, string](cols.CreatedUser), CreatedDate: psql.WhereNull[Q, time.Time](cols.CreatedDate), LastEditedUser: psql.WhereNull[Q, string](cols.LastEditedUser), diff --git a/db/models/fieldseeker.treatment.bob.go b/db/models/fieldseeker.treatment.bob.go index 616aa74d..699d6641 100644 --- a/db/models/fieldseeker.treatment.bob.go +++ b/db/models/fieldseeker.treatment.bob.go @@ -1,4 +1,4 @@ -// Code generated by BobGen psql v0.0.4-0.20251216163753-8e325b7c773a+dirty. DO NOT EDIT. +// Code generated by BobGen psql v0.0.4-0.20260105020634-53e08d840e47+dirty. DO NOT EDIT. // This file is meant to be re-generated in place and/or deleted at any time. package models @@ -87,7 +87,7 @@ type FieldseekerTreatment struct { // Original attribute from ArcGIS API is CONTAINERCOUNT Containercount null.Val[int16] `db:"containercount" ` // Original attribute from ArcGIS API is GlobalID - Globalid null.Val[uuid.UUID] `db:"globalid" ` + Globalid uuid.UUID `db:"globalid" ` // Original attribute from ArcGIS API is TREATMENTLENGTH Treatmentlength null.Val[float64] `db:"treatmentlength" ` // Original attribute from ArcGIS API is TREATMENTHOURS @@ -330,7 +330,7 @@ type FieldseekerTreatmentSetter struct { Tirecount omitnull.Val[int16] `db:"tirecount" ` Cbcount omitnull.Val[int16] `db:"cbcount" ` Containercount omitnull.Val[int16] `db:"containercount" ` - Globalid omitnull.Val[uuid.UUID] `db:"globalid" ` + Globalid omit.Val[uuid.UUID] `db:"globalid" ` Treatmentlength omitnull.Val[float64] `db:"treatmentlength" ` Treatmenthours omitnull.Val[float64] `db:"treatmenthours" ` Treatmentlengthunits omitnull.Val[string] `db:"treatmentlengthunits" ` @@ -450,7 +450,7 @@ func (s FieldseekerTreatmentSetter) SetColumns() []string { if !s.Containercount.IsUnset() { vals = append(vals, "containercount") } - if !s.Globalid.IsUnset() { + if s.Globalid.IsValue() { vals = append(vals, "globalid") } if !s.Treatmentlength.IsUnset() { @@ -628,8 +628,8 @@ func (s FieldseekerTreatmentSetter) Overwrite(t *FieldseekerTreatment) { if !s.Containercount.IsUnset() { t.Containercount = s.Containercount.MustGetNull() } - if !s.Globalid.IsUnset() { - t.Globalid = s.Globalid.MustGetNull() + if s.Globalid.IsValue() { + t.Globalid = s.Globalid.MustGet() } if !s.Treatmentlength.IsUnset() { t.Treatmentlength = s.Treatmentlength.MustGetNull() @@ -898,8 +898,8 @@ func (s *FieldseekerTreatmentSetter) Apply(q *dialect.InsertQuery) { vals[28] = psql.Raw("DEFAULT") } - if !s.Globalid.IsUnset() { - vals[29] = psql.Arg(s.Globalid.MustGetNull()) + if s.Globalid.IsValue() { + vals[29] = psql.Arg(s.Globalid.MustGet()) } else { vals[29] = psql.Raw("DEFAULT") } @@ -1286,7 +1286,7 @@ func (s FieldseekerTreatmentSetter) Expressions(prefix ...string) []bob.Expressi }}) } - if !s.Globalid.IsUnset() { + if s.Globalid.IsValue() { exprs = append(exprs, expr.Join{Sep: " = ", Exprs: []bob.Expression{ psql.Quote(append(prefix, "globalid")...), psql.Arg(s.Globalid), @@ -1827,7 +1827,7 @@ type fieldseekerTreatmentWhere[Q psql.Filterable] struct { Tirecount psql.WhereNullMod[Q, int16] Cbcount psql.WhereNullMod[Q, int16] Containercount psql.WhereNullMod[Q, int16] - Globalid psql.WhereNullMod[Q, uuid.UUID] + Globalid psql.WhereMod[Q, uuid.UUID] Treatmentlength psql.WhereNullMod[Q, float64] Treatmenthours psql.WhereNullMod[Q, float64] Treatmentlengthunits psql.WhereNullMod[Q, string] @@ -1893,7 +1893,7 @@ func buildFieldseekerTreatmentWhere[Q psql.Filterable](cols fieldseekerTreatment Tirecount: psql.WhereNull[Q, int16](cols.Tirecount), Cbcount: psql.WhereNull[Q, int16](cols.Cbcount), Containercount: psql.WhereNull[Q, int16](cols.Containercount), - Globalid: psql.WhereNull[Q, uuid.UUID](cols.Globalid), + Globalid: psql.Where[Q, uuid.UUID](cols.Globalid), Treatmentlength: psql.WhereNull[Q, float64](cols.Treatmentlength), Treatmenthours: psql.WhereNull[Q, float64](cols.Treatmenthours), Treatmentlengthunits: psql.WhereNull[Q, string](cols.Treatmentlengthunits), diff --git a/db/models/fieldseeker.treatmentarea.bob.go b/db/models/fieldseeker.treatmentarea.bob.go index 2c2c14e2..bdae3688 100644 --- a/db/models/fieldseeker.treatmentarea.bob.go +++ b/db/models/fieldseeker.treatmentarea.bob.go @@ -1,4 +1,4 @@ -// Code generated by BobGen psql v0.0.4-0.20251216163753-8e325b7c773a+dirty. DO NOT EDIT. +// Code generated by BobGen psql v0.0.4-0.20260105020634-53e08d840e47+dirty. DO NOT EDIT. // This file is meant to be re-generated in place and/or deleted at any time. package models @@ -39,7 +39,7 @@ type FieldseekerTreatmentarea struct { // Original attribute from ArcGIS API is COMMENTS Comments null.Val[string] `db:"comments" ` // Original attribute from ArcGIS API is GlobalID - Globalid null.Val[uuid.UUID] `db:"globalid" ` + Globalid uuid.UUID `db:"globalid" ` // Original attribute from ArcGIS API is created_user CreatedUser null.Val[string] `db:"created_user" ` // Original attribute from ArcGIS API is created_date @@ -162,7 +162,7 @@ type FieldseekerTreatmentareaSetter struct { SessionID omitnull.Val[uuid.UUID] `db:"session_id" ` Treatdate omitnull.Val[time.Time] `db:"treatdate" ` Comments omitnull.Val[string] `db:"comments" ` - Globalid omitnull.Val[uuid.UUID] `db:"globalid" ` + Globalid omit.Val[uuid.UUID] `db:"globalid" ` CreatedUser omitnull.Val[string] `db:"created_user" ` CreatedDate omitnull.Val[time.Time] `db:"created_date" ` LastEditedUser omitnull.Val[string] `db:"last_edited_user" ` @@ -198,7 +198,7 @@ func (s FieldseekerTreatmentareaSetter) SetColumns() []string { if !s.Comments.IsUnset() { vals = append(vals, "comments") } - if !s.Globalid.IsUnset() { + if s.Globalid.IsValue() { vals = append(vals, "globalid") } if !s.CreatedUser.IsUnset() { @@ -268,8 +268,8 @@ func (s FieldseekerTreatmentareaSetter) Overwrite(t *FieldseekerTreatmentarea) { if !s.Comments.IsUnset() { t.Comments = s.Comments.MustGetNull() } - if !s.Globalid.IsUnset() { - t.Globalid = s.Globalid.MustGetNull() + if s.Globalid.IsValue() { + t.Globalid = s.Globalid.MustGet() } if !s.CreatedUser.IsUnset() { t.CreatedUser = s.CreatedUser.MustGetNull() @@ -358,8 +358,8 @@ func (s *FieldseekerTreatmentareaSetter) Apply(q *dialect.InsertQuery) { vals[4] = psql.Raw("DEFAULT") } - if !s.Globalid.IsUnset() { - vals[5] = psql.Arg(s.Globalid.MustGetNull()) + if s.Globalid.IsValue() { + vals[5] = psql.Arg(s.Globalid.MustGet()) } else { vals[5] = psql.Raw("DEFAULT") } @@ -506,7 +506,7 @@ func (s FieldseekerTreatmentareaSetter) Expressions(prefix ...string) []bob.Expr }}) } - if !s.Globalid.IsUnset() { + if s.Globalid.IsValue() { exprs = append(exprs, expr.Join{Sep: " = ", Exprs: []bob.Expression{ psql.Quote(append(prefix, "globalid")...), psql.Arg(s.Globalid), @@ -939,7 +939,7 @@ type fieldseekerTreatmentareaWhere[Q psql.Filterable] struct { SessionID psql.WhereNullMod[Q, uuid.UUID] Treatdate psql.WhereNullMod[Q, time.Time] Comments psql.WhereNullMod[Q, string] - Globalid psql.WhereNullMod[Q, uuid.UUID] + Globalid psql.WhereMod[Q, uuid.UUID] CreatedUser psql.WhereNullMod[Q, string] CreatedDate psql.WhereNullMod[Q, time.Time] LastEditedUser psql.WhereNullMod[Q, string] @@ -969,7 +969,7 @@ func buildFieldseekerTreatmentareaWhere[Q psql.Filterable](cols fieldseekerTreat SessionID: psql.WhereNull[Q, uuid.UUID](cols.SessionID), Treatdate: psql.WhereNull[Q, time.Time](cols.Treatdate), Comments: psql.WhereNull[Q, string](cols.Comments), - Globalid: psql.WhereNull[Q, uuid.UUID](cols.Globalid), + Globalid: psql.Where[Q, uuid.UUID](cols.Globalid), CreatedUser: psql.WhereNull[Q, string](cols.CreatedUser), CreatedDate: psql.WhereNull[Q, time.Time](cols.CreatedDate), LastEditedUser: psql.WhereNull[Q, string](cols.LastEditedUser), diff --git a/db/models/fieldseeker.zones.bob.go b/db/models/fieldseeker.zones.bob.go index 60d42338..cf83561f 100644 --- a/db/models/fieldseeker.zones.bob.go +++ b/db/models/fieldseeker.zones.bob.go @@ -1,4 +1,4 @@ -// Code generated by BobGen psql v0.0.4-0.20251216163753-8e325b7c773a+dirty. DO NOT EDIT. +// Code generated by BobGen psql v0.0.4-0.20260105020634-53e08d840e47+dirty. DO NOT EDIT. // This file is meant to be re-generated in place and/or deleted at any time. package models @@ -33,7 +33,7 @@ type FieldseekerZone struct { // Original attribute from ArcGIS API is NAME Name null.Val[string] `db:"name" ` // Original attribute from ArcGIS API is GlobalID - Globalid null.Val[uuid.UUID] `db:"globalid" ` + Globalid uuid.UUID `db:"globalid" ` // Original attribute from ArcGIS API is created_user CreatedUser null.Val[string] `db:"created_user" ` // Original attribute from ArcGIS API is created_date @@ -143,7 +143,7 @@ func (fieldseekerZoneColumns) AliasedAs(alias string) fieldseekerZoneColumns { type FieldseekerZoneSetter struct { Objectid omit.Val[int64] `db:"objectid,pk" ` Name omitnull.Val[string] `db:"name" ` - Globalid omitnull.Val[uuid.UUID] `db:"globalid" ` + Globalid omit.Val[uuid.UUID] `db:"globalid" ` CreatedUser omitnull.Val[string] `db:"created_user" ` CreatedDate omitnull.Val[time.Time] `db:"created_date" ` LastEditedUser omitnull.Val[string] `db:"last_edited_user" ` @@ -169,7 +169,7 @@ func (s FieldseekerZoneSetter) SetColumns() []string { if !s.Name.IsUnset() { vals = append(vals, "name") } - if !s.Globalid.IsUnset() { + if s.Globalid.IsValue() { vals = append(vals, "globalid") } if !s.CreatedUser.IsUnset() { @@ -227,8 +227,8 @@ func (s FieldseekerZoneSetter) Overwrite(t *FieldseekerZone) { if !s.Name.IsUnset() { t.Name = s.Name.MustGetNull() } - if !s.Globalid.IsUnset() { - t.Globalid = s.Globalid.MustGetNull() + if s.Globalid.IsValue() { + t.Globalid = s.Globalid.MustGet() } if !s.CreatedUser.IsUnset() { t.CreatedUser = s.CreatedUser.MustGetNull() @@ -296,8 +296,8 @@ func (s *FieldseekerZoneSetter) Apply(q *dialect.InsertQuery) { vals[1] = psql.Raw("DEFAULT") } - if !s.Globalid.IsUnset() { - vals[2] = psql.Arg(s.Globalid.MustGetNull()) + if s.Globalid.IsValue() { + vals[2] = psql.Arg(s.Globalid.MustGet()) } else { vals[2] = psql.Raw("DEFAULT") } @@ -417,7 +417,7 @@ func (s FieldseekerZoneSetter) Expressions(prefix ...string) []bob.Expression { }}) } - if !s.Globalid.IsUnset() { + if s.Globalid.IsValue() { exprs = append(exprs, expr.Join{Sep: " = ", Exprs: []bob.Expression{ psql.Quote(append(prefix, "globalid")...), psql.Arg(s.Globalid), @@ -840,7 +840,7 @@ func (fieldseekerZone0 *FieldseekerZone) AttachOrganization(ctx context.Context, type fieldseekerZoneWhere[Q psql.Filterable] struct { Objectid psql.WhereMod[Q, int64] Name psql.WhereNullMod[Q, string] - Globalid psql.WhereNullMod[Q, uuid.UUID] + Globalid psql.WhereMod[Q, uuid.UUID] CreatedUser psql.WhereNullMod[Q, string] CreatedDate psql.WhereNullMod[Q, time.Time] LastEditedUser psql.WhereNullMod[Q, string] @@ -866,7 +866,7 @@ func buildFieldseekerZoneWhere[Q psql.Filterable](cols fieldseekerZoneColumns) f return fieldseekerZoneWhere[Q]{ Objectid: psql.Where[Q, int64](cols.Objectid), Name: psql.WhereNull[Q, string](cols.Name), - Globalid: psql.WhereNull[Q, uuid.UUID](cols.Globalid), + Globalid: psql.Where[Q, uuid.UUID](cols.Globalid), CreatedUser: psql.WhereNull[Q, string](cols.CreatedUser), CreatedDate: psql.WhereNull[Q, time.Time](cols.CreatedDate), LastEditedUser: psql.WhereNull[Q, string](cols.LastEditedUser), diff --git a/db/models/fieldseeker.zones2.bob.go b/db/models/fieldseeker.zones2.bob.go index 475e01d2..34f1c7ca 100644 --- a/db/models/fieldseeker.zones2.bob.go +++ b/db/models/fieldseeker.zones2.bob.go @@ -1,4 +1,4 @@ -// Code generated by BobGen psql v0.0.4-0.20251216163753-8e325b7c773a+dirty. DO NOT EDIT. +// Code generated by BobGen psql v0.0.4-0.20260105020634-53e08d840e47+dirty. DO NOT EDIT. // This file is meant to be re-generated in place and/or deleted at any time. package models @@ -33,7 +33,7 @@ type FieldseekerZones2 struct { // Original attribute from ArcGIS API is NAME Name null.Val[string] `db:"name" ` // Original attribute from ArcGIS API is GlobalID - Globalid null.Val[uuid.UUID] `db:"globalid" ` + Globalid uuid.UUID `db:"globalid" ` // Original attribute from ArcGIS API is created_user CreatedUser null.Val[string] `db:"created_user" ` // Original attribute from ArcGIS API is created_date @@ -139,7 +139,7 @@ func (fieldseekerZones2Columns) AliasedAs(alias string) fieldseekerZones2Columns type FieldseekerZones2Setter struct { Objectid omit.Val[int64] `db:"objectid,pk" ` Name omitnull.Val[string] `db:"name" ` - Globalid omitnull.Val[uuid.UUID] `db:"globalid" ` + Globalid omit.Val[uuid.UUID] `db:"globalid" ` CreatedUser omitnull.Val[string] `db:"created_user" ` CreatedDate omitnull.Val[time.Time] `db:"created_date" ` LastEditedUser omitnull.Val[string] `db:"last_edited_user" ` @@ -164,7 +164,7 @@ func (s FieldseekerZones2Setter) SetColumns() []string { if !s.Name.IsUnset() { vals = append(vals, "name") } - if !s.Globalid.IsUnset() { + if s.Globalid.IsValue() { vals = append(vals, "globalid") } if !s.CreatedUser.IsUnset() { @@ -219,8 +219,8 @@ func (s FieldseekerZones2Setter) Overwrite(t *FieldseekerZones2) { if !s.Name.IsUnset() { t.Name = s.Name.MustGetNull() } - if !s.Globalid.IsUnset() { - t.Globalid = s.Globalid.MustGetNull() + if s.Globalid.IsValue() { + t.Globalid = s.Globalid.MustGet() } if !s.CreatedUser.IsUnset() { t.CreatedUser = s.CreatedUser.MustGetNull() @@ -285,8 +285,8 @@ func (s *FieldseekerZones2Setter) Apply(q *dialect.InsertQuery) { vals[1] = psql.Raw("DEFAULT") } - if !s.Globalid.IsUnset() { - vals[2] = psql.Arg(s.Globalid.MustGetNull()) + if s.Globalid.IsValue() { + vals[2] = psql.Arg(s.Globalid.MustGet()) } else { vals[2] = psql.Raw("DEFAULT") } @@ -400,7 +400,7 @@ func (s FieldseekerZones2Setter) Expressions(prefix ...string) []bob.Expression }}) } - if !s.Globalid.IsUnset() { + if s.Globalid.IsValue() { exprs = append(exprs, expr.Join{Sep: " = ", Exprs: []bob.Expression{ psql.Quote(append(prefix, "globalid")...), psql.Arg(s.Globalid), @@ -816,7 +816,7 @@ func (fieldseekerZones20 *FieldseekerZones2) AttachOrganization(ctx context.Cont type fieldseekerZones2Where[Q psql.Filterable] struct { Objectid psql.WhereMod[Q, int64] Name psql.WhereNullMod[Q, string] - Globalid psql.WhereNullMod[Q, uuid.UUID] + Globalid psql.WhereMod[Q, uuid.UUID] CreatedUser psql.WhereNullMod[Q, string] CreatedDate psql.WhereNullMod[Q, time.Time] LastEditedUser psql.WhereNullMod[Q, string] @@ -841,7 +841,7 @@ func buildFieldseekerZones2Where[Q psql.Filterable](cols fieldseekerZones2Column return fieldseekerZones2Where[Q]{ Objectid: psql.Where[Q, int64](cols.Objectid), Name: psql.WhereNull[Q, string](cols.Name), - Globalid: psql.WhereNull[Q, uuid.UUID](cols.Globalid), + Globalid: psql.Where[Q, uuid.UUID](cols.Globalid), CreatedUser: psql.WhereNull[Q, string](cols.CreatedUser), CreatedDate: psql.WhereNull[Q, time.Time](cols.CreatedDate), LastEditedUser: psql.WhereNull[Q, string](cols.LastEditedUser), diff --git a/db/models/fieldseeker_sync.bob.go b/db/models/fieldseeker_sync.bob.go index 9c103541..b2a8ea0e 100644 --- a/db/models/fieldseeker_sync.bob.go +++ b/db/models/fieldseeker_sync.bob.go @@ -1,4 +1,4 @@ -// Code generated by BobGen psql v0.0.4-0.20251216163753-8e325b7c773a+dirty. DO NOT EDIT. +// Code generated by BobGen psql v0.0.4-0.20260105020634-53e08d840e47+dirty. DO NOT EDIT. // This file is meant to be re-generated in place and/or deleted at any time. package models diff --git a/db/models/geography_columns.bob.go b/db/models/geography_columns.bob.go index c81d019b..4e1b1c04 100644 --- a/db/models/geography_columns.bob.go +++ b/db/models/geography_columns.bob.go @@ -1,4 +1,4 @@ -// Code generated by BobGen psql v0.0.4-0.20251216163753-8e325b7c773a+dirty. DO NOT EDIT. +// Code generated by BobGen psql v0.0.4-0.20260105020634-53e08d840e47+dirty. DO NOT EDIT. // This file is meant to be re-generated in place and/or deleted at any time. package models diff --git a/db/models/geometry_columns.bob.go b/db/models/geometry_columns.bob.go index 68adfb2b..9b93f543 100644 --- a/db/models/geometry_columns.bob.go +++ b/db/models/geometry_columns.bob.go @@ -1,4 +1,4 @@ -// Code generated by BobGen psql v0.0.4-0.20251216163753-8e325b7c773a+dirty. DO NOT EDIT. +// Code generated by BobGen psql v0.0.4-0.20260105020634-53e08d840e47+dirty. DO NOT EDIT. // This file is meant to be re-generated in place and/or deleted at any time. package models diff --git a/db/models/goose_db_version.bob.go b/db/models/goose_db_version.bob.go index da2c4575..d65bd269 100644 --- a/db/models/goose_db_version.bob.go +++ b/db/models/goose_db_version.bob.go @@ -1,4 +1,4 @@ -// Code generated by BobGen psql v0.0.4-0.20251216163753-8e325b7c773a+dirty. DO NOT EDIT. +// Code generated by BobGen psql v0.0.4-0.20260105020634-53e08d840e47+dirty. DO NOT EDIT. // This file is meant to be re-generated in place and/or deleted at any time. package models diff --git a/db/models/h3_aggregation.bob.go b/db/models/h3_aggregation.bob.go index e2830ecc..476bdba1 100644 --- a/db/models/h3_aggregation.bob.go +++ b/db/models/h3_aggregation.bob.go @@ -1,4 +1,4 @@ -// Code generated by BobGen psql v0.0.4-0.20251216163753-8e325b7c773a+dirty. DO NOT EDIT. +// Code generated by BobGen psql v0.0.4-0.20260105020634-53e08d840e47+dirty. DO NOT EDIT. // This file is meant to be re-generated in place and/or deleted at any time. package models diff --git a/db/models/note_audio.bob.go b/db/models/note_audio.bob.go index 25f21d5e..b491baed 100644 --- a/db/models/note_audio.bob.go +++ b/db/models/note_audio.bob.go @@ -1,4 +1,4 @@ -// Code generated by BobGen psql v0.0.4-0.20251216163753-8e325b7c773a+dirty. DO NOT EDIT. +// Code generated by BobGen psql v0.0.4-0.20260105020634-53e08d840e47+dirty. DO NOT EDIT. // This file is meant to be re-generated in place and/or deleted at any time. package models diff --git a/db/models/note_audio_breadcrumb.bob.go b/db/models/note_audio_breadcrumb.bob.go index ac5998e8..5dd41d5b 100644 --- a/db/models/note_audio_breadcrumb.bob.go +++ b/db/models/note_audio_breadcrumb.bob.go @@ -1,4 +1,4 @@ -// Code generated by BobGen psql v0.0.4-0.20251216163753-8e325b7c773a+dirty. DO NOT EDIT. +// Code generated by BobGen psql v0.0.4-0.20260105020634-53e08d840e47+dirty. DO NOT EDIT. // This file is meant to be re-generated in place and/or deleted at any time. package models diff --git a/db/models/note_audio_data.bob.go b/db/models/note_audio_data.bob.go index 8c3fb330..b4a9ec78 100644 --- a/db/models/note_audio_data.bob.go +++ b/db/models/note_audio_data.bob.go @@ -1,4 +1,4 @@ -// Code generated by BobGen psql v0.0.4-0.20251216163753-8e325b7c773a+dirty. DO NOT EDIT. +// Code generated by BobGen psql v0.0.4-0.20260105020634-53e08d840e47+dirty. DO NOT EDIT. // This file is meant to be re-generated in place and/or deleted at any time. package models diff --git a/db/models/note_image.bob.go b/db/models/note_image.bob.go index 67fb14c6..071a1ace 100644 --- a/db/models/note_image.bob.go +++ b/db/models/note_image.bob.go @@ -1,4 +1,4 @@ -// Code generated by BobGen psql v0.0.4-0.20251216163753-8e325b7c773a+dirty. DO NOT EDIT. +// Code generated by BobGen psql v0.0.4-0.20260105020634-53e08d840e47+dirty. DO NOT EDIT. // This file is meant to be re-generated in place and/or deleted at any time. package models diff --git a/db/models/note_image_breadcrumb.bob.go b/db/models/note_image_breadcrumb.bob.go index 8c3d881d..eee5ba78 100644 --- a/db/models/note_image_breadcrumb.bob.go +++ b/db/models/note_image_breadcrumb.bob.go @@ -1,4 +1,4 @@ -// Code generated by BobGen psql v0.0.4-0.20251216163753-8e325b7c773a+dirty. DO NOT EDIT. +// Code generated by BobGen psql v0.0.4-0.20260105020634-53e08d840e47+dirty. DO NOT EDIT. // This file is meant to be re-generated in place and/or deleted at any time. package models diff --git a/db/models/note_image_data.bob.go b/db/models/note_image_data.bob.go index 2dee40f7..7adfe9b2 100644 --- a/db/models/note_image_data.bob.go +++ b/db/models/note_image_data.bob.go @@ -1,4 +1,4 @@ -// Code generated by BobGen psql v0.0.4-0.20251216163753-8e325b7c773a+dirty. DO NOT EDIT. +// Code generated by BobGen psql v0.0.4-0.20260105020634-53e08d840e47+dirty. DO NOT EDIT. // This file is meant to be re-generated in place and/or deleted at any time. package models diff --git a/db/models/notification.bob.go b/db/models/notification.bob.go index 9b4f1a33..5456125b 100644 --- a/db/models/notification.bob.go +++ b/db/models/notification.bob.go @@ -1,4 +1,4 @@ -// Code generated by BobGen psql v0.0.4-0.20251216163753-8e325b7c773a+dirty. DO NOT EDIT. +// Code generated by BobGen psql v0.0.4-0.20260105020634-53e08d840e47+dirty. DO NOT EDIT. // This file is meant to be re-generated in place and/or deleted at any time. package models diff --git a/db/models/oauth_token.bob.go b/db/models/oauth_token.bob.go index 54a9a7f1..cd7ff27d 100644 --- a/db/models/oauth_token.bob.go +++ b/db/models/oauth_token.bob.go @@ -1,4 +1,4 @@ -// Code generated by BobGen psql v0.0.4-0.20251216163753-8e325b7c773a+dirty. DO NOT EDIT. +// Code generated by BobGen psql v0.0.4-0.20260105020634-53e08d840e47+dirty. DO NOT EDIT. // This file is meant to be re-generated in place and/or deleted at any time. package models diff --git a/db/models/organization.bob.go b/db/models/organization.bob.go index cdfb13a1..bc8413af 100644 --- a/db/models/organization.bob.go +++ b/db/models/organization.bob.go @@ -1,4 +1,4 @@ -// Code generated by BobGen psql v0.0.4-0.20251216163753-8e325b7c773a+dirty. DO NOT EDIT. +// Code generated by BobGen psql v0.0.4-0.20260105020634-53e08d840e47+dirty. DO NOT EDIT. // This file is meant to be re-generated in place and/or deleted at any time. package models diff --git a/db/models/raster_columns.bob.go b/db/models/raster_columns.bob.go index c3d42d76..f53ea1e0 100644 --- a/db/models/raster_columns.bob.go +++ b/db/models/raster_columns.bob.go @@ -1,4 +1,4 @@ -// Code generated by BobGen psql v0.0.4-0.20251216163753-8e325b7c773a+dirty. DO NOT EDIT. +// Code generated by BobGen psql v0.0.4-0.20260105020634-53e08d840e47+dirty. DO NOT EDIT. // This file is meant to be re-generated in place and/or deleted at any time. package models diff --git a/db/models/raster_overviews.bob.go b/db/models/raster_overviews.bob.go index f2bbaffd..b21dcf47 100644 --- a/db/models/raster_overviews.bob.go +++ b/db/models/raster_overviews.bob.go @@ -1,4 +1,4 @@ -// Code generated by BobGen psql v0.0.4-0.20251216163753-8e325b7c773a+dirty. DO NOT EDIT. +// Code generated by BobGen psql v0.0.4-0.20260105020634-53e08d840e47+dirty. DO NOT EDIT. // This file is meant to be re-generated in place and/or deleted at any time. package models diff --git a/db/models/sessions.bob.go b/db/models/sessions.bob.go index 6e79fdf3..7e0d3f29 100644 --- a/db/models/sessions.bob.go +++ b/db/models/sessions.bob.go @@ -1,4 +1,4 @@ -// Code generated by BobGen psql v0.0.4-0.20251216163753-8e325b7c773a+dirty. DO NOT EDIT. +// Code generated by BobGen psql v0.0.4-0.20260105020634-53e08d840e47+dirty. DO NOT EDIT. // This file is meant to be re-generated in place and/or deleted at any time. package models diff --git a/db/models/spatial_ref_sys.bob.go b/db/models/spatial_ref_sys.bob.go index 992354fb..20b5bfcb 100644 --- a/db/models/spatial_ref_sys.bob.go +++ b/db/models/spatial_ref_sys.bob.go @@ -1,4 +1,4 @@ -// Code generated by BobGen psql v0.0.4-0.20251216163753-8e325b7c773a+dirty. DO NOT EDIT. +// Code generated by BobGen psql v0.0.4-0.20260105020634-53e08d840e47+dirty. DO NOT EDIT. // This file is meant to be re-generated in place and/or deleted at any time. package models diff --git a/db/models/user_.bob.go b/db/models/user_.bob.go index 796fa543..7e23b40b 100644 --- a/db/models/user_.bob.go +++ b/db/models/user_.bob.go @@ -1,4 +1,4 @@ -// Code generated by BobGen psql v0.0.4-0.20251216163753-8e325b7c773a+dirty. DO NOT EDIT. +// Code generated by BobGen psql v0.0.4-0.20260105020634-53e08d840e47+dirty. DO NOT EDIT. // This file is meant to be re-generated in place and/or deleted at any time. package models diff --git a/db/sql/oauth_by_user_id.bob.go b/db/sql/oauth_by_user_id.bob.go index d3298e80..f2b6eb5d 100644 --- a/db/sql/oauth_by_user_id.bob.go +++ b/db/sql/oauth_by_user_id.bob.go @@ -1,4 +1,4 @@ -// Code generated by BobGen psql v0.0.4-0.20251216163753-8e325b7c773a+dirty. DO NOT EDIT. +// Code generated by BobGen psql v0.0.4-0.20260105020634-53e08d840e47+dirty. DO NOT EDIT. // This file is meant to be re-generated in place and/or deleted at any time. package sql diff --git a/db/sql/oauth_by_user_id.bob.sql b/db/sql/oauth_by_user_id.bob.sql index 7e7f884e..ff32b8e7 100644 --- a/db/sql/oauth_by_user_id.bob.sql +++ b/db/sql/oauth_by_user_id.bob.sql @@ -1,4 +1,4 @@ --- Code generated by BobGen psql v0.0.4-0.20251216163753-8e325b7c773a+dirty. DO NOT EDIT. +-- Code generated by BobGen psql v0.0.4-0.20260105020634-53e08d840e47+dirty. DO NOT EDIT. -- This file is meant to be re-generated in place and/or deleted at any time. -- OauthTokenByUserId diff --git a/db/sql/oauth_by_user_id.bob_test.go b/db/sql/oauth_by_user_id.bob_test.go index 5b885919..d23dae74 100644 --- a/db/sql/oauth_by_user_id.bob_test.go +++ b/db/sql/oauth_by_user_id.bob_test.go @@ -1,4 +1,4 @@ -// Code generated by BobGen psql v0.0.4-0.20251216163753-8e325b7c773a+dirty. DO NOT EDIT. +// Code generated by BobGen psql v0.0.4-0.20260105020634-53e08d840e47+dirty. DO NOT EDIT. // This file is meant to be re-generated in place and/or deleted at any time. package sql diff --git a/db/sql/org_by_oauth_id.bob.go b/db/sql/org_by_oauth_id.bob.go index 9a88848a..690b6ab9 100644 --- a/db/sql/org_by_oauth_id.bob.go +++ b/db/sql/org_by_oauth_id.bob.go @@ -1,4 +1,4 @@ -// Code generated by BobGen psql v0.0.4-0.20251216163753-8e325b7c773a+dirty. DO NOT EDIT. +// Code generated by BobGen psql v0.0.4-0.20260105020634-53e08d840e47+dirty. DO NOT EDIT. // This file is meant to be re-generated in place and/or deleted at any time. package sql diff --git a/db/sql/org_by_oauth_id.bob.sql b/db/sql/org_by_oauth_id.bob.sql index 31662979..c7be4696 100644 --- a/db/sql/org_by_oauth_id.bob.sql +++ b/db/sql/org_by_oauth_id.bob.sql @@ -1,4 +1,4 @@ --- Code generated by BobGen psql v0.0.4-0.20251216163753-8e325b7c773a+dirty. DO NOT EDIT. +-- Code generated by BobGen psql v0.0.4-0.20260105020634-53e08d840e47+dirty. DO NOT EDIT. -- This file is meant to be re-generated in place and/or deleted at any time. -- OrgByOauthId diff --git a/db/sql/org_by_oauth_id.bob_test.go b/db/sql/org_by_oauth_id.bob_test.go index 71df0297..2c7b02c0 100644 --- a/db/sql/org_by_oauth_id.bob_test.go +++ b/db/sql/org_by_oauth_id.bob_test.go @@ -1,4 +1,4 @@ -// Code generated by BobGen psql v0.0.4-0.20251216163753-8e325b7c773a+dirty. DO NOT EDIT. +// Code generated by BobGen psql v0.0.4-0.20260105020634-53e08d840e47+dirty. DO NOT EDIT. // This file is meant to be re-generated in place and/or deleted at any time. package sql diff --git a/db/sql/test_utils.bob_test.go b/db/sql/test_utils.bob_test.go index 0132aabe..5d99a660 100644 --- a/db/sql/test_utils.bob_test.go +++ b/db/sql/test_utils.bob_test.go @@ -1,4 +1,4 @@ -// Code generated by BobGen psql v0.0.4-0.20251216163753-8e325b7c773a+dirty. DO NOT EDIT. +// Code generated by BobGen psql v0.0.4-0.20260105020634-53e08d840e47+dirty. DO NOT EDIT. // This file is meant to be re-generated in place and/or deleted at any time. package sql diff --git a/db/sql/trapcount_by_location_id.bob.go b/db/sql/trapcount_by_location_id.bob.go index 2778ae5f..70a39347 100644 --- a/db/sql/trapcount_by_location_id.bob.go +++ b/db/sql/trapcount_by_location_id.bob.go @@ -1,4 +1,4 @@ -// Code generated by BobGen psql v0.0.4-0.20251216163753-8e325b7c773a+dirty. DO NOT EDIT. +// Code generated by BobGen psql v0.0.4-0.20260105020634-53e08d840e47+dirty. DO NOT EDIT. // This file is meant to be re-generated in place and/or deleted at any time. package sql @@ -66,7 +66,7 @@ func TrapCountByLocationID(OrganizationID int32, LocID []uuid.UUID) *TrapCountBy } type TrapCountByLocationIDRow = struct { - TrapdataGlobalid null.Val[uuid.UUID] `db:"trapdata_globalid"` + TrapdataGlobalid uuid.UUID `db:"trapdata_globalid"` TrapdataEnddate null.Val[time.Time] `db:"trapdata_enddate"` TotalFemales int64 `db:"total_females"` TotalMales int64 `db:"total_males"` diff --git a/db/sql/trapcount_by_location_id.bob.sql b/db/sql/trapcount_by_location_id.bob.sql index 9a80f07c..385e4c9e 100644 --- a/db/sql/trapcount_by_location_id.bob.sql +++ b/db/sql/trapcount_by_location_id.bob.sql @@ -1,4 +1,4 @@ --- Code generated by BobGen psql v0.0.4-0.20251216163753-8e325b7c773a+dirty. DO NOT EDIT. +-- Code generated by BobGen psql v0.0.4-0.20260105020634-53e08d840e47+dirty. DO NOT EDIT. -- This file is meant to be re-generated in place and/or deleted at any time. -- TrapCountByLocationID diff --git a/db/sql/trapcount_by_location_id.bob_test.go b/db/sql/trapcount_by_location_id.bob_test.go index 15c6b960..6737508b 100644 --- a/db/sql/trapcount_by_location_id.bob_test.go +++ b/db/sql/trapcount_by_location_id.bob_test.go @@ -1,4 +1,4 @@ -// Code generated by BobGen psql v0.0.4-0.20251216163753-8e325b7c773a+dirty. DO NOT EDIT. +// Code generated by BobGen psql v0.0.4-0.20260105020634-53e08d840e47+dirty. DO NOT EDIT. // This file is meant to be re-generated in place and/or deleted at any time. package sql diff --git a/db/sql/trapdata_by_location_id_recent.bob.go b/db/sql/trapdata_by_location_id_recent.bob.go index d9c55b85..38db78f9 100644 --- a/db/sql/trapdata_by_location_id_recent.bob.go +++ b/db/sql/trapdata_by_location_id_recent.bob.go @@ -1,4 +1,4 @@ -// Code generated by BobGen psql v0.0.4-0.20251216163753-8e325b7c773a+dirty. DO NOT EDIT. +// Code generated by BobGen psql v0.0.4-0.20260105020634-53e08d840e47+dirty. DO NOT EDIT. // This file is meant to be re-generated in place and/or deleted at any time. package sql diff --git a/db/sql/trapdata_by_location_id_recent.bob.sql b/db/sql/trapdata_by_location_id_recent.bob.sql index da1f5594..c3326b69 100644 --- a/db/sql/trapdata_by_location_id_recent.bob.sql +++ b/db/sql/trapdata_by_location_id_recent.bob.sql @@ -1,4 +1,4 @@ --- Code generated by BobGen psql v0.0.4-0.20251216163753-8e325b7c773a+dirty. DO NOT EDIT. +-- Code generated by BobGen psql v0.0.4-0.20260105020634-53e08d840e47+dirty. DO NOT EDIT. -- This file is meant to be re-generated in place and/or deleted at any time. -- TrapDataByLocationIDRecent diff --git a/db/sql/trapdata_by_location_id_recent.bob_test.go b/db/sql/trapdata_by_location_id_recent.bob_test.go index 5d0597b9..cb6a7042 100644 --- a/db/sql/trapdata_by_location_id_recent.bob_test.go +++ b/db/sql/trapdata_by_location_id_recent.bob_test.go @@ -1,4 +1,4 @@ -// Code generated by BobGen psql v0.0.4-0.20251216163753-8e325b7c773a+dirty. DO NOT EDIT. +// Code generated by BobGen psql v0.0.4-0.20260105020634-53e08d840e47+dirty. DO NOT EDIT. // This file is meant to be re-generated in place and/or deleted at any time. package sql diff --git a/db/sql/traplocation_by_source_id.bob.go b/db/sql/traplocation_by_source_id.bob.go index 42d93c84..8f10bb55 100644 --- a/db/sql/traplocation_by_source_id.bob.go +++ b/db/sql/traplocation_by_source_id.bob.go @@ -1,4 +1,4 @@ -// Code generated by BobGen psql v0.0.4-0.20251216163753-8e325b7c773a+dirty. DO NOT EDIT. +// Code generated by BobGen psql v0.0.4-0.20260105020634-53e08d840e47+dirty. DO NOT EDIT. // This file is meant to be re-generated in place and/or deleted at any time. package sql @@ -9,7 +9,6 @@ import ( "io" "iter" - "github.com/aarondl/opt/null" "github.com/google/uuid" "github.com/stephenafamo/bob" "github.com/stephenafamo/bob/dialect/psql" @@ -62,8 +61,8 @@ func TrapLocationBySourceID(OrganizationID int32, Globalid uuid.UUID) *TrapLocat } type TrapLocationBySourceIDRow = struct { - TrapLocationGlobalid null.Val[uuid.UUID] `db:"trap_location_globalid"` - Distance string `db:"distance"` + TrapLocationGlobalid uuid.UUID `db:"trap_location_globalid"` + Distance string `db:"distance"` } type trapLocationBySourceIDTransformer = bob.SliceTransformer[TrapLocationBySourceIDRow, []TrapLocationBySourceIDRow] diff --git a/db/sql/traplocation_by_source_id.bob.sql b/db/sql/traplocation_by_source_id.bob.sql index 1e6a4a16..9f788cef 100644 --- a/db/sql/traplocation_by_source_id.bob.sql +++ b/db/sql/traplocation_by_source_id.bob.sql @@ -1,4 +1,4 @@ --- Code generated by BobGen psql v0.0.4-0.20251216163753-8e325b7c773a+dirty. DO NOT EDIT. +-- Code generated by BobGen psql v0.0.4-0.20260105020634-53e08d840e47+dirty. DO NOT EDIT. -- This file is meant to be re-generated in place and/or deleted at any time. -- TrapLocationBySourceID diff --git a/db/sql/traplocation_by_source_id.bob_test.go b/db/sql/traplocation_by_source_id.bob_test.go index fa21895b..fbbf80ea 100644 --- a/db/sql/traplocation_by_source_id.bob_test.go +++ b/db/sql/traplocation_by_source_id.bob_test.go @@ -1,4 +1,4 @@ -// Code generated by BobGen psql v0.0.4-0.20251216163753-8e325b7c773a+dirty. DO NOT EDIT. +// Code generated by BobGen psql v0.0.4-0.20260105020634-53e08d840e47+dirty. DO NOT EDIT. // This file is meant to be re-generated in place and/or deleted at any time. package sql diff --git a/db/sql/update_oauth_org.bob.go b/db/sql/update_oauth_org.bob.go index 52617838..6d8776d5 100644 --- a/db/sql/update_oauth_org.bob.go +++ b/db/sql/update_oauth_org.bob.go @@ -1,4 +1,4 @@ -// Code generated by BobGen psql v0.0.4-0.20251216163753-8e325b7c773a+dirty. DO NOT EDIT. +// Code generated by BobGen psql v0.0.4-0.20260105020634-53e08d840e47+dirty. DO NOT EDIT. // This file is meant to be re-generated in place and/or deleted at any time. package sql diff --git a/db/sql/update_oauth_org.bob.sql b/db/sql/update_oauth_org.bob.sql index ea72c135..080766b8 100644 --- a/db/sql/update_oauth_org.bob.sql +++ b/db/sql/update_oauth_org.bob.sql @@ -1,4 +1,4 @@ --- Code generated by BobGen psql v0.0.4-0.20251216163753-8e325b7c773a+dirty. DO NOT EDIT. +-- Code generated by BobGen psql v0.0.4-0.20260105020634-53e08d840e47+dirty. DO NOT EDIT. -- This file is meant to be re-generated in place and/or deleted at any time. -- UpdateOauthTokenOrg diff --git a/db/sql/update_oauth_org.bob_test.go b/db/sql/update_oauth_org.bob_test.go index b08fc71e..d737e792 100644 --- a/db/sql/update_oauth_org.bob_test.go +++ b/db/sql/update_oauth_org.bob_test.go @@ -1,4 +1,4 @@ -// Code generated by BobGen psql v0.0.4-0.20251216163753-8e325b7c773a+dirty. DO NOT EDIT. +// Code generated by BobGen psql v0.0.4-0.20260105020634-53e08d840e47+dirty. DO NOT EDIT. // This file is meant to be re-generated in place and/or deleted at any time. package sql diff --git a/db/sql/user_by_username.bob.go b/db/sql/user_by_username.bob.go index 77659943..ade13164 100644 --- a/db/sql/user_by_username.bob.go +++ b/db/sql/user_by_username.bob.go @@ -1,4 +1,4 @@ -// Code generated by BobGen psql v0.0.4-0.20251216163753-8e325b7c773a+dirty. DO NOT EDIT. +// Code generated by BobGen psql v0.0.4-0.20260105020634-53e08d840e47+dirty. DO NOT EDIT. // This file is meant to be re-generated in place and/or deleted at any time. package sql diff --git a/db/sql/user_by_username.bob.sql b/db/sql/user_by_username.bob.sql index 15d608a4..596ef88d 100644 --- a/db/sql/user_by_username.bob.sql +++ b/db/sql/user_by_username.bob.sql @@ -1,4 +1,4 @@ --- Code generated by BobGen psql v0.0.4-0.20251216163753-8e325b7c773a+dirty. DO NOT EDIT. +-- Code generated by BobGen psql v0.0.4-0.20260105020634-53e08d840e47+dirty. DO NOT EDIT. -- This file is meant to be re-generated in place and/or deleted at any time. -- UserByUsername diff --git a/db/sql/user_by_username.bob_test.go b/db/sql/user_by_username.bob_test.go index 865af892..20bb24f3 100644 --- a/db/sql/user_by_username.bob_test.go +++ b/db/sql/user_by_username.bob_test.go @@ -1,4 +1,4 @@ -// Code generated by BobGen psql v0.0.4-0.20251216163753-8e325b7c773a+dirty. DO NOT EDIT. +// Code generated by BobGen psql v0.0.4-0.20260105020634-53e08d840e47+dirty. DO NOT EDIT. // This file is meant to be re-generated in place and/or deleted at any time. package sql