Skip to content

Commit 4643614

Browse files
committed
forever curators
1 parent 6931222 commit 4643614

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/db/model.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ pub struct InsertGroup {
8383

8484
#[derive(Insertable, AsChangeset)]
8585
#[table_name = "memberships"]
86+
#[changeset_options(treat_none_as_null = "true")]
8687
pub struct InsertMembership {
8788
pub user_uuid: Uuid,
8889
pub group_id: i32,

0 commit comments

Comments
 (0)