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

Closed
opened 2026-03-03 08:53:18 +03:00 by kerem · 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>
kerem 2026-03-03 08:53:18 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/vaultwarden#2839
No description provided.