Fix db issues with Option<> values and upd crates (#5594)

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 commit is contained in:
Mathijs van Veluw authored and GitHub committed 2025-02-14 17:58:57 +01:00
1 parent d5c353427d
commit 3baffeee9a
6 files changed
+14 -10

No files matched your search

+1
View File
@@ -10,6 +10,7 @@ use serde_json::Value;
db_object! {
#[derive(Identifiable, Queryable, Insertable, AsChangeset)]
#[diesel(table_name = groups)]
#[diesel(treat_none_as_null = true)]
#[diesel(primary_key(uuid))]
pub struct Group {
pub uuid: GroupId,