We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6931222 commit 4643614Copy full SHA for 4643614
1 file changed
src/db/model.rs
@@ -83,6 +83,7 @@ pub struct InsertGroup {
83
84
#[derive(Insertable, AsChangeset)]
85
#[table_name = "memberships"]
86
+#[changeset_options(treat_none_as_null = "true")]
87
pub struct InsertMembership {
88
pub user_uuid: Uuid,
89
pub group_id: i32,
0 commit comments