[PR #966] [MERGED] Fixed issue #965 #22369

Closed
opened 2026-05-16 05:18:57 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/dani-garcia/vaultwarden/pull/966
Author: @BlackDex
Created: 4/15/2020
Status: Merged
Merged: 4/15/2020
Merged by: @dani-garcia

Base: masterHead: issue-965


📝 Commits (1)

📊 Changes

4 files changed (+4 additions, -0 deletions)

View changed files

📝 src/db/models/attachment.rs (+1 -0)
📝 src/db/models/cipher.rs (+1 -0)
📝 src/db/models/device.rs (+1 -0)
📝 src/db/models/user.rs (+1 -0)

📄 Description

PostgreSQL updates/inserts ignored None/null values.
This is nice for new entries, but not for updates.
Added derive option to allways add these none/null values for Option<>
variables.

This solves issue #965


🔄 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/966 **Author:** [@BlackDex](https://github.com/BlackDex) **Created:** 4/15/2020 **Status:** ✅ Merged **Merged:** 4/15/2020 **Merged by:** [@dani-garcia](https://github.com/dani-garcia) **Base:** `master` ← **Head:** `issue-965` --- ### 📝 Commits (1) - [`1ee8e44`](https://github.com/dani-garcia/vaultwarden/commit/1ee8e44912a02feb77fd9640a5cc4782b494820b) Fixed issue #965 ### 📊 Changes **4 files changed** (+4 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `src/db/models/attachment.rs` (+1 -0) 📝 `src/db/models/cipher.rs` (+1 -0) 📝 `src/db/models/device.rs` (+1 -0) 📝 `src/db/models/user.rs` (+1 -0) </details> ### 📄 Description PostgreSQL updates/inserts ignored None/null values. This is nice for new entries, but not for updates. Added derive option to allways add these none/null values for Option<> variables. This solves issue #965 --- <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-05-16 05:18:57 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/vaultwarden#22369