diff options
Diffstat (limited to 'src/db/models/org_policy.rs')
-rw-r--r-- | src/db/models/org_policy.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/db/models/org_policy.rs b/src/db/models/org_policy.rs index 6f6f894e..d1e8aa0f 100644 --- a/src/db/models/org_policy.rs +++ b/src/db/models/org_policy.rs @@ -115,7 +115,7 @@ impl OrgPolicy { // We need to make sure we're not going to violate the unique constraint on org_uuid and atype. // This happens automatically on other DBMS backends due to replace_into(). PostgreSQL does // not support multiple constraints on ON CONFLICT clauses. - diesel::delete( + let _: () = diesel::delete( org_policies::table .filter(org_policies::org_uuid.eq(&self.org_uuid)) .filter(org_policies::atype.eq(&self.atype)), |