mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-05-06 03:19:02 -05:00
[PR #6916] Add support for archiving items #12731
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/dani-garcia/vaultwarden/pull/6916
Author: @matt-aaron
Created: 3/9/2026
Status: 🔄 Open
Base:
main← Head:archiving📝 Commits (4)
c2779faAdd archivingb3b47ebUpdate Diesel macros and remove unnecessary SUPPORTED_FEATURE_FLAGf879f12Add IF EXISTS to down.sql migratinosc949b84Rename migration folders, separate logic based on PR threads📊 Changes
12 files changed (+324 additions, -9 deletions)
View changed files
➕
migrations/mysql/2026-03-09-005927_add_archives/down.sql(+1 -0)➕
migrations/mysql/2026-03-09-005927_add_archives/up.sql(+10 -0)➕
migrations/postgresql/2026-03-09-005927_add_archives/down.sql(+1 -0)➕
migrations/postgresql/2026-03-09-005927_add_archives/up.sql(+8 -0)➕
migrations/sqlite/2026-03-09-005927_add_archives/down.sql(+1 -0)➕
migrations/sqlite/2026-03-09-005927_add_archives/up.sql(+8 -0)📝
src/api/core/ciphers.rs(+170 -5)📝
src/api/core/mod.rs(+2 -2)➕
src/db/models/archive.rs(+91 -0)📝
src/db/models/cipher.rs(+19 -2)📝
src/db/models/mod.rs(+2 -0)📝
src/db/schema.rs(+11 -0)📄 Description
Adds support for archiving items: https://github.com/dani-garcia/vaultwarden/discussions/6372
I'm new to the codebase, so let me know if I have missed anything. Happy to apply any feedback you may have. Thank you!
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.