WindmillWWindmill
Powered by
aurelienbrabantA
Windmill•3y ago•
3 replies
aurelienbrabant

Foreign key issue while attempting to delete workspace

Windmill version: self hosted CE v1.206.0-7
The PG database is the one provided with the docker compose setup (which I didn't update since I first installed windmill though)

I attempted to delete a windmill workspace but was greeted with foreign key constraint violation errors.
As I was in a hurry I fixed it myself by deleting manually the following rows (where WK_ID is the id of the workspace I wanted to delete)

DELETE FROM queue WHERE workspace_id = 'WK_ID'
DELETE FROM capture WHERE workspace_id = 'WK_ID'
DELETE FROM draft WHERE workspace_id = 'WK_ID'

After I ran this queries I was able to proceed with proper deletion of the workspace.
WindmillJoin
3,362Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?
Recent Announcements
henri-c

Weekly kenote to tell you about our latest updates https://discord.com/channels/930051556043276338/1278977038430240813 https://youtube.com/live/2dGd9TdT8xs?feature=share

henri-c · 4d ago

Pyra

### HTTP tracing (EE) Capture HTTP requests made by job scripts as observability spans Features: - View HTTP request traces (method, URL, status, timing) in the job details UI - Auto-instrumentation for Native TypeScript, MITM proxy for other languages - Integrates with external OpenTelemetry collectors changelog: https://www.windmill.dev/changelog/http-tracing docs: https://www.windmill.dev/docs/advanced/instance_settings#http-tracing Additionally jobs memory metrics are now fully OSS!

Pyra · 2w ago

henri-c

First keynote of the year here https://discord.com/channels/930051556043276338/1278977038430240813 🙂

henri-c · 4w ago

Similar Threads

Workspace specific tags issue
EntVlEEntVl / help
13mo ago
Unable to add workspace scripts to flows
dfulton2009Ddfulton2009 / help
2y ago
Attempting to set up custom Oauth connection
GazoneyGGazoney / help
10mo ago
Importing a workspace
d10sfanDd10sfan / help
2y ago