[PR #5594] [MERGED] Fix db issues with Option<> values and upd crates #7276

Closed
opened 2026-03-07 21:14:05 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/dani-garcia/vaultwarden/pull/5594
Author: @BlackDex
Created: 2/14/2025
Status: Merged
Merged: 2/14/2025
Merged by: @dani-garcia

Base: mainHead: fix-db-issues-and-update-crates


📝 Commits (1)

  • e502270 Fix db issues with Option<> values and upd crates

📊 Changes

6 files changed (+14 additions, -10 deletions)

View changed files

📝 Cargo.lock (+8 -9)
📝 Cargo.toml (+1 -1)
📝 src/db/models/collection.rs (+1 -0)
📝 src/db/models/event.rs (+1 -0)
📝 src/db/models/group.rs (+1 -0)
📝 src/db/models/organization.rs (+2 -0)

📄 Description

Some tables were lacking an option to convert Option<> to NULL. This commit will fix that.

Also updated the crates to the latest version available.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/dani-garcia/vaultwarden/pull/5594 **Author:** [@BlackDex](https://github.com/BlackDex) **Created:** 2/14/2025 **Status:** ✅ Merged **Merged:** 2/14/2025 **Merged by:** [@dani-garcia](https://github.com/dani-garcia) **Base:** `main` ← **Head:** `fix-db-issues-and-update-crates` --- ### 📝 Commits (1) - [`e502270`](https://github.com/dani-garcia/vaultwarden/commit/e502270599ca3454634e337a1eb2d7bd447b2dd6) Fix db issues with Option<> values and upd crates ### 📊 Changes **6 files changed** (+14 additions, -10 deletions) <details> <summary>View changed files</summary> 📝 `Cargo.lock` (+8 -9) 📝 `Cargo.toml` (+1 -1) 📝 `src/db/models/collection.rs` (+1 -0) 📝 `src/db/models/event.rs` (+1 -0) 📝 `src/db/models/group.rs` (+1 -0) 📝 `src/db/models/organization.rs` (+2 -0) </details> ### 📄 Description Some tables were lacking an option to convert Option<> to NULL. This commit will fix that. Also updated the crates to the latest version available. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-03-07 21:14:06 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/vaultwarden#7276