Spiegel von
https://github.com/dani-garcia/vaultwarden.git
synchronisiert 2024-11-23 05:20:28 +01:00
Fix postgres policies, second try
Dieser Commit ist enthalten in:
Ursprung
402c1cd06c
Commit
40c339db9b
1 geänderte Dateien mit 2 neuen und 2 gelöschten Zeilen
|
@ -63,8 +63,8 @@ impl OrgPolicy {
|
||||||
// not support multiple constraints on ON CONFLICT clauses.
|
// not support multiple constraints on ON CONFLICT clauses.
|
||||||
diesel::delete(
|
diesel::delete(
|
||||||
org_policies::table
|
org_policies::table
|
||||||
.filter(org_policies::org_uuid.eq(self.org_uuid))
|
.filter(org_policies::org_uuid.eq(&self.org_uuid))
|
||||||
.filter(org_policies::atype.eq(self.atype)),
|
.filter(org_policies::atype.eq(&self.atype)),
|
||||||
)
|
)
|
||||||
.execute(&**conn)
|
.execute(&**conn)
|
||||||
.map_res("Error deleting org_policy for insert")?;
|
.map_res("Error deleting org_policy for insert")?;
|
||||||
|
|
Laden …
In neuem Issue referenzieren