n8n/packages/cli/test/integration/shared/db
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
..
credentials.ts refactor(core): Move second batch of repositories to @n8n/db (#15137) 2025-05-06 16:40:34 +02:00
executions.ts refactor(core): Move first batch of repositories to @n8n/db (#15130) 2025-05-06 11:22:43 +02:00
folders.ts refactor(core): Move second batch of repositories to @n8n/db (#15137) 2025-05-06 16:40:34 +02:00
projects.ts refactor(core): Move second batch of repositories to @n8n/db (#15137) 2025-05-06 16:40:34 +02:00
tags.ts refactor(core): Move interrelated entities to @n8n/db (#15050) 2025-05-02 12:19:32 +02:00
users.ts refactor(core): Move more code into @n8n/permissions. Add aditional tests and docs (no-changelog) (#15062) 2025-05-06 15:11:05 +02:00
variables.ts refactor(core): Move initial files to @n8n/db (#14953) 2025-04-29 18:14:52 +02:00
workflow-history.ts refactor(core): Move final batch of entities to @n8n/db (#15061) 2025-05-02 17:46:05 +02:00
workflow-statistics.ts refactor(core): Move interrelated entities to @n8n/db (#15050) 2025-05-02 12:19:32 +02:00
workflows.ts feat(core): Change workflow deletions to soft deletes (#14894) 2025-05-06 17:48:24 +03:00