jovandeginste / workout-tracker

A workout tracking web application for personal use (or family, friends), geared towards running and other GPX-based activities
Other
955 stars 31 forks source link

Unable to delete things. #321

Open mortimus1987 opened 9 hours ago

mortimus1987 commented 9 hours ago

I have uploaded a brief test track, to check the import functionality from my phone. Having it confirmed it worked, I attempted to delete the workout but received the following error:

Something went wrong: ERROR: update or delete on table "map_data" violates foreign key constraint "fk_map_data_details" on table "map_data_details" (SQLSTATE 23503)

I get the a similar error when attempting to delete the initial admin user (after creating another user and ensuring they have admin privileges) but for "fk_users_profile" on table "profiles".

I am using a docker compose deployment with PostGres 16 alpine as the database.

jovandeginste commented 7 hours ago

Can you check the exact version you are running?

mortimus1987 commented 2 hours ago

The docker image is the :latest tag. Workout tracker itself reports "branch master (c6d4ea03)"