n8n/packages/cli/test/integration/shared
Jaakko Husso 3a13139f78
feat(core): Change workflow deletions to soft deletes (#14894)
Adds soft‑deletion support for workflows through a new boolean column `isArchived`.

When a workflow is archived we now set `isArchived` flag to true and the workflows
stays in the database and is omitted from the default workflow listing query.

Archived workflows can be viewed in read-only mode, but they cannot be activated.

Archived workflows are still available by ID and can be invoked as sub-executions,
so existing Execute Workflow nodes continue to work. Execution engine doesn't
care about isArchived flag.

Users can restore workflows via Unarchive action at the UI.
2025-05-06 17:48:24 +03:00
..
db feat(core): Change workflow deletions to soft deletes (#14894) 2025-05-06 17:48:24 +03:00
utils refactor(core): Move second batch of repositories to @n8n/db (#15137) 2025-05-06 16:40:34 +02:00
constants.ts refactor(core): Replace typedi with our custom DI system (no-changelog) (#12389) 2025-01-06 10:21:24 +01:00
ldap.ts refactor(core): Replace typedi with our custom DI system (no-changelog) (#12389) 2025-01-06 10:21:24 +01:00
license.ts refactor(core): Separate license state from license service (#15097) 2025-05-06 09:43:08 +02:00
random.ts fix(core): Redact credentials (#13263) 2025-02-14 16:46:21 +02:00
retry-until.ts refactor(core): Unify error reporters in core and task runners (#12168) 2024-12-13 17:34:37 +01:00
test-db.ts refactor(core): Move first batch of repositories to @n8n/db (#15130) 2025-05-06 11:22:43 +02:00
types.ts refactor(core): Move interrelated entities to @n8n/db (#15050) 2025-05-02 12:19:32 +02:00
workflow.ts refactor(core): Move interrelated entities to @n8n/db (#15050) 2025-05-02 12:19:32 +02:00