diff --git a/gen/bobgen-atlas/driver/atlas.go b/gen/bobgen-atlas/driver/atlas.go index d5940549..52bfce50 100644 --- a/gen/bobgen-atlas/driver/atlas.go +++ b/gen/bobgen-atlas/driver/atlas.go @@ -331,7 +331,7 @@ func (d *driver) translateColumnType(c drivers.Column, tableKey string, typ sche case *schema.UUIDType: c.Type = "uuid.UUID" - c.Imports = importers.List{`"github.com/gofrs/uuid"`} + c.Imports = importers.List{`"github.com/gofrs/uuid/v5"`} if d.config.UUIDPkg == "google" { c.Imports = importers.List{`"github.com/google/uuid"`} } diff --git a/gen/bobgen-psql/driver/translate.go b/gen/bobgen-psql/driver/translate.go index d6fce09c..b73ae0e4 100644 --- a/gen/bobgen-psql/driver/translate.go +++ b/gen/bobgen-psql/driver/translate.go @@ -178,7 +178,7 @@ func (d *driver) typMap() map[string]importers.List { case "google": uuidPkg = `"github.com/google/uuid"` default: - uuidPkg = `"github.com/gofrs/uuid"` + uuidPkg = `"github.com/gofrs/uuid/v5"` } return map[string]importers.List{