Andrey Antukh 45a0937266 ♻️ Remove deleted-at from demo profile creation, use delayed worker task instead
Demo profiles were created with deleted-at set to a future date, causing
conflicts with db/is-row-deleted? which treats any non-nil deleted-at as
deleted. This required ::db/remove-deleted false workarounds scattered
across the codebase.

Now demo profiles are created with deleted_at = NULL (fully active during
their lifetime). A delayed :demo-purge worker task is scheduled at creation
time. When it fires after the configured deletion-delay, it marks the
profile with deleted_at = now() and submits the standard delete-object
cascade (teams -> projects -> files -> media).

- New: app.tasks.demo-purge handler (delayed worker task)
- Modified: demo.clj removes :deleted-at, adds delayed task submission
- Modified: profile.clj removes ::db/remove-deleted false workaround
- Modified: main.clj registers demo-purge handler
2026-06-24 13:32:07 +02:00
..
2026-05-29 11:24:58 +02:00
2026-01-22 13:55:41 +01:00
2026-01-22 13:55:41 +01:00
2024-05-29 19:05:04 +02:00