Extract EXIF data from images
This required a schema change and actually dumps all existing photo data from the public reports page. That's probably fine since it's not deployed to any customers so all data is currently test data.
This commit is contained in:
parent
b95a3275ff
commit
079d20c086
43 changed files with 7208 additions and 3094 deletions
|
|
@ -338,6 +338,10 @@ func updatePortalData(ctx context.Context, client *arcgis.ArcGIS, user_id int32)
|
|||
}
|
||||
|
||||
tx, err := db.PGInstance.BobDB.BeginTx(ctx, nil)
|
||||
if err != nil {
|
||||
return nil, fmt.Errorf("Failed to create transaction: %w", err)
|
||||
}
|
||||
|
||||
_, err = models.ArcgisUserPrivileges.Delete(
|
||||
dm.Where(
|
||||
models.ArcgisUserPrivileges.Columns.UserID.EQ(psql.Arg(p.User.ID)),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue